mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
Monoforums
This commit is contained in:
@@ -928,6 +928,10 @@ extension ChatControllerImpl {
|
||||
explicitelyCanPinMessages = true
|
||||
}
|
||||
|
||||
#if DEBUG
|
||||
peerMonoforumId = nil
|
||||
#endif
|
||||
|
||||
let preloadHistoryPeerId = peerMonoforumId ?? peerDiscussionId
|
||||
if strongSelf.preloadHistoryPeerId != preloadHistoryPeerId {
|
||||
strongSelf.preloadHistoryPeerId = preloadHistoryPeerId
|
||||
@@ -1621,6 +1625,10 @@ extension ChatControllerImpl {
|
||||
explicitelyCanPinMessages = true
|
||||
}
|
||||
|
||||
#if DEBUG
|
||||
peerMonoforumId = nil
|
||||
#endif
|
||||
|
||||
let preloadHistoryPeerId = peerMonoforumId ?? peerDiscussionId
|
||||
if strongSelf.preloadHistoryPeerId != preloadHistoryPeerId {
|
||||
strongSelf.preloadHistoryPeerId = preloadHistoryPeerId
|
||||
|
||||
Reference in New Issue
Block a user