fix after merge

This commit is contained in:
overtake 2019-06-25 18:43:57 +02:00
parent 28fe7f40b0
commit 8d6620e6ea

View File

@ -232,6 +232,10 @@ public final class ChatController: TelegramController, GalleryHiddenMediaTarget,
private var beginMediaRecordingRequestId: Int = 0
private var lockMediaRecordingRequestId: Int?
public override var navigationCustomData: Any? {
return self.chatLocation
}
var purposefulAction: (() -> Void)?
public init(context: AccountContext, chatLocation: ChatLocation, messageId: MessageId? = nil, botStart: ChatControllerInitialBotStart? = nil, mode: ChatControllerPresentationMode = .standard(previewing: false)) {
@ -4769,6 +4773,8 @@ public final class ChatController: TelegramController, GalleryHiddenMediaTarget,
})
}
private func presentMapPicker(editingMessage: Bool) {
guard let peer = self.presentationInterfaceState.renderedPeer?.peer else {
return