Fix build

This commit is contained in:
Ali
2022-03-18 23:08:42 +04:00
parent c3f72dc51b
commit 2562b50b04
3 changed files with 5 additions and 2 deletions

View File

@@ -3302,7 +3302,9 @@ public final class ChatControllerImpl: TelegramBaseController, ChatController, G
guard let strongSelf = self else {
return
}
let peerId = strongSelf.presentationInterfaceState.chatLocation.peerId
guard let peerId = strongSelf.presentationInterfaceState.chatLocation.peerId else {
return
}
strongSelf.context.sharedContext.openResolvedUrl(.groupBotStart(peerId: peerId, payload: ""), context: strongSelf.context, urlContext: .generic, navigationController: strongSelf.effectiveNavigationController, openPeer: { id, navigation in
}, sendFile: nil,
sendSticker: nil,