fix(423): handle RateLimitHardBlock in ws.rs match

The new WatcherEvent::RateLimitHardBlock variant added in the feature
commit was not covered in the ws.rs From<WatcherEvent> match, causing
a compile error. Add the missing arm returning None (same as
RateLimitWarning — handled by chat notifications only, not WebSocket).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
dave
2026-03-28 09:44:24 +00:00
parent b44f3a33e3
commit 8ab2e19e98
+1
View File
@@ -163,6 +163,7 @@ impl From<WatcherEvent> for Option<WsResponse> {
WatcherEvent::MergeFailure { .. } => None, WatcherEvent::MergeFailure { .. } => None,
WatcherEvent::RateLimitWarning { .. } => None, WatcherEvent::RateLimitWarning { .. } => None,
WatcherEvent::StoryBlocked { .. } => None, WatcherEvent::StoryBlocked { .. } => None,
WatcherEvent::RateLimitHardBlock { .. } => None,
} }
} }
} }