fix: do not show self in typing indicator
Signed-off-by: Infi <infi@infi.sh>
This commit is contained in:
parent
331736119b
commit
b68329b2de
|
|
@ -471,6 +471,7 @@ class ChannelScreenViewModel : ViewModel() {
|
||||||
is ChannelStartTypingFrame -> {
|
is ChannelStartTypingFrame -> {
|
||||||
if (it.id != activeChannel?.id) return@onEach
|
if (it.id != activeChannel?.id) return@onEach
|
||||||
if (typingUsers.contains(it.user)) return@onEach
|
if (typingUsers.contains(it.user)) return@onEach
|
||||||
|
if (it.user == RevoltAPI.selfId) return@onEach
|
||||||
|
|
||||||
addUserIfUnknown(it.user)
|
addUserIfUnknown(it.user)
|
||||||
typingUsers.add(it.user)
|
typingUsers.add(it.user)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue