mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-11-07 01:10:09 +00:00
Fix typing statuses
This commit is contained in:
parent
fa181970fb
commit
c69c578e1d
@ -1312,6 +1312,8 @@ public final class ChatListNode: ListView {
|
|||||||
switch activity {
|
switch activity {
|
||||||
case .interactingWithEmoji:
|
case .interactingWithEmoji:
|
||||||
return true
|
return true
|
||||||
|
case .speakingInGroupCall:
|
||||||
|
return true
|
||||||
default:
|
default:
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
@ -1343,9 +1345,9 @@ public final class ChatListNode: ListView {
|
|||||||
return engine.data.get(EngineDataMap(
|
return engine.data.get(EngineDataMap(
|
||||||
activitiesByPeerId.keys.filter { key in
|
activitiesByPeerId.keys.filter { key in
|
||||||
if case .global = key.category {
|
if case .global = key.category {
|
||||||
return false
|
|
||||||
} else {
|
|
||||||
return true
|
return true
|
||||||
|
} else {
|
||||||
|
return false
|
||||||
}
|
}
|
||||||
}.map { key in
|
}.map { key in
|
||||||
return TelegramEngine.EngineData.Item.Peer.Peer(id: key.peerId)
|
return TelegramEngine.EngineData.Item.Peer.Peer(id: key.peerId)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user