Merge commit 'c9aa4a85da7d15f2f4227e301b2f92f5dd46aae5'

This commit is contained in:
Peter
2019-01-14 02:24:56 +03:00
103 changed files with 6802 additions and 2057 deletions

View File

@@ -700,6 +700,12 @@ public final class ChatController: TelegramController, KeyShortcutResponder, Gal
if let strongSelf = self, strongSelf.isNodeLoaded, let navigationController = strongSelf.navigationController as? NavigationController, let message = strongSelf.chatDisplayNode.historyNode.messageInCurrentHistoryView(message.id) {
openChatInstantPage(account: strongSelf.account, message: message, navigationController: navigationController)
}
}, openWallpaper: { [weak self] message in
if let strongSelf = self, strongSelf.isNodeLoaded, let message = strongSelf.chatDisplayNode.historyNode.messageInCurrentHistoryView(message.id) {
openChatWallpaper(account: strongSelf.account, message: message, present: { [weak self] c, a in
self?.present(c, in: .window(.root), with: a, blockInteraction: true)
})
}
}, openHashtag: { [weak self] peerName, hashtag in
guard let strongSelf = self else {
return