mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 22:55:00 +00:00
Filter activities
This commit is contained in:
@@ -1634,6 +1634,9 @@ public final class ChatListNode: ListView {
|
||||
guard case .global = chatPeerId.category else {
|
||||
continue
|
||||
}
|
||||
if case let .channel(channel) = peerMap[chatPeerId.peerId], channel.flags.contains(.isForum) {
|
||||
continue
|
||||
}
|
||||
itemId = ChatListNodePeerInputActivities.ItemId(peerId: chatPeerId.peerId, threadId: nil)
|
||||
case let .forum(peerId):
|
||||
if chatPeerId.peerId != peerId {
|
||||
|
||||
Reference in New Issue
Block a user