mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-24 07:05:35 +00:00
Ignore topic data in chat list and notifications when chat is not a forum anymore
This commit is contained in:
@@ -457,8 +457,13 @@ extension EngineChatList.Item {
|
||||
|
||||
let readCounters = readState.flatMap(EnginePeerReadCounters.init)
|
||||
|
||||
if let channel = renderedPeer.peer as? TelegramChannel, channel.flags.contains(.isForum) {
|
||||
draft = nil
|
||||
if let channel = renderedPeer.peer as? TelegramChannel {
|
||||
if channel.flags.contains(.isForum) {
|
||||
draft = nil
|
||||
} else {
|
||||
forumTopicDataValue = nil
|
||||
topForumTopicItems = []
|
||||
}
|
||||
}
|
||||
|
||||
self.init(
|
||||
|
||||
Reference in New Issue
Block a user