mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 22:55:00 +00:00
Fix monoforum user unread counters
This commit is contained in:
@@ -139,8 +139,7 @@ final class ChatMessageNotificationItemNode: NotificationItemNode {
|
||||
}
|
||||
|
||||
if case let .channel(channel) = peer, channel.isMonoForum, let linkedMonoforumId = channel.linkedMonoforumId, let mainChannel = firstMessage.peers[linkedMonoforumId] {
|
||||
//TODO:localize
|
||||
title = authorString + "@" + EnginePeer(mainChannel).displayTitle(strings: item.strings, displayOrder: item.nameDisplayOrder) + " Messages"
|
||||
title = authorString + "@" + EnginePeer(mainChannel).displayTitle(strings: item.strings, displayOrder: item.nameDisplayOrder)
|
||||
} else {
|
||||
if let threadData = item.threadData {
|
||||
title = "\(authorString) → \(threadData.info.title)"
|
||||
|
||||
Reference in New Issue
Block a user