PLT-3734 Cleaning up shouldSendEvent function (#4024)
* PLT-3734 Cleaning up shouldSendEvent function * Fix LHS unread highlight and jewel mentions
Этот коммит содержится в:
коммит произвёл
Christopher Speller
родитель
bfca752940
Коммит
60347559c7
@@ -1793,7 +1793,7 @@ func TestUserTyping(t *testing.T) {
|
||||
for {
|
||||
select {
|
||||
case resp := <-WebSocketClient2.EventChannel:
|
||||
if resp.Event == model.WEBSOCKET_EVENT_TYPING && resp.UserId == th.BasicUser.Id {
|
||||
if resp.Event == model.WEBSOCKET_EVENT_TYPING && resp.Data["user_id"].(string) == th.BasicUser.Id {
|
||||
eventHit = true
|
||||
}
|
||||
case <-stop:
|
||||
|
||||
Ссылка в новой задаче
Block a user