Monoforums

This commit is contained in:
Isaac
2025-06-06 21:51:03 +08:00
parent d486f529a3
commit cf8fe78769
3 changed files with 10 additions and 2 deletions

View File

@@ -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