Monoforums

This commit is contained in:
Isaac
2025-05-26 23:38:55 +08:00
parent cf5223ab46
commit 60f2b98ee8
5 changed files with 130 additions and 12 deletions

View File

@@ -548,7 +548,7 @@ extension ChatControllerImpl {
} else if let channel = peer as? TelegramChannel, channel.isMonoForum {
if let linkedMonoforumId = channel.linkedMonoforumId, let mainPeer = peerView.peers[linkedMonoforumId] {
//TODO:localize
strongSelf.state.chatTitleContent = .custom("\(mainPeer.debugDisplayTitle) Messages", nil, false)
strongSelf.state.chatTitleContent = .custom(mainPeer.debugDisplayTitle, nil, false)
} else {
strongSelf.state.chatTitleContent = .custom(channel.debugDisplayTitle, nil, false)
}