fix: wrong match keyword causing disconnects on typing event

This commit is contained in:
Paul Makles
2024-06-11 14:01:59 +01:00
parent 8e7dd21bce
commit 5c40f66010

View File

@@ -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 {