mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-07-24 12:10:49 +00:00
monoforums
This commit is contained in:
parent
5841e96301
commit
f0ceabd6f7
@ -460,7 +460,7 @@ public func peerViewMonoforumMainPeer(_ view: PeerView) -> Peer? {
|
||||
if let channel = peer as? TelegramChannel, channel.flags.contains(.isMonoforum), let linkedMonoforumId = channel.linkedMonoforumId {
|
||||
return view.peers[linkedMonoforumId]
|
||||
} else {
|
||||
return peer
|
||||
return nil
|
||||
}
|
||||
} else {
|
||||
return nil
|
||||
|
Loading…
x
Reference in New Issue
Block a user