From 5c40f66010ee0cda81249ad138928a56a3eebaf4 Mon Sep 17 00:00:00 2001 From: Paul Makles Date: Tue, 11 Jun 2024 14:01:59 +0100 Subject: [PATCH] fix: wrong match keyword causing disconnects on typing event --- crates/bonfire/src/websocket.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/bonfire/src/websocket.rs b/crates/bonfire/src/websocket.rs index 6745cfe9..b3282a2e 100644 --- a/crates/bonfire/src/websocket.rs +++ b/crates/bonfire/src/websocket.rs @@ -291,7 +291,7 @@ async fn worker( match payload { ClientMessage::BeginTyping { channel } => { if !subscribed.read().await.contains(&channel) { - break; + continue; } EventV1::ChannelStartTyping { @@ -303,7 +303,7 @@ async fn worker( } ClientMessage::EndTyping { channel } => { if !subscribed.read().await.contains(&channel) { - break; + continue; } EventV1::ChannelStopTyping {