We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9ce5f60 commit d590aceCopy full SHA for d590ace
internal/ws/ws.go
@@ -142,7 +142,7 @@ func (h *Hub) BroadcastTypingToConversation(conversationUUID string, typingMsg m
142
143
for _, client := range h.conversationClients[conversationUUID] {
144
// Don't send typing indicator back to the sender.
145
- if client != sender {
+ if client.ID != sender.ID {
146
client.SendMessage(messageBytes, websocket.TextMessage)
147
}
148
0 commit comments