diff --git a/submodules/TelegramUI/Components/PeerSelectionController/Sources/PeerSelectionController.swift b/submodules/TelegramUI/Components/PeerSelectionController/Sources/PeerSelectionController.swift index b59016f948..ba9f768fad 100644 --- a/submodules/TelegramUI/Components/PeerSelectionController/Sources/PeerSelectionController.swift +++ b/submodules/TelegramUI/Components/PeerSelectionController/Sources/PeerSelectionController.swift @@ -279,7 +279,7 @@ public final class PeerSelectionControllerImpl: ViewController, PeerSelectionCon if case let .channel(peer) = peer, peer.isForumOrMonoForum, threadId == nil, strongSelf.selectForumThreads { let mainPeer: Signal if peer.isMonoForum, let linkedMonoforumId = peer.linkedMonoforumId { - mainPeer = self.context.engine.data.get( + mainPeer = strongSelf.context.engine.data.get( TelegramEngine.EngineData.Item.Peer.Peer(id: linkedMonoforumId) ) } else {