fix: clear typing users on reconnect
if they are no longer typing by the time we reconnected they will show as typing indefinitely Signed-off-by: Infi <infi@infi.sh>
This commit is contained in:
parent
a8ce409b54
commit
47b64bdf39
|
|
@ -694,6 +694,7 @@ class ChannelScreenViewModel @Inject constructor(
|
|||
is RealtimeSocketFrames.Reconnected -> {
|
||||
Log.d("ChannelScreen", "Reconnected to WS.")
|
||||
loadMessages(50, ignoreExisting = true)
|
||||
typingUsers.clear()
|
||||
listenToWsEvents()
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue