mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-11-07 01:10:09 +00:00
Merge commit 'de1e98a33cb020fc096590ce317c29597f6462c5'
This commit is contained in:
commit
6c22fe6051
@ -1175,11 +1175,7 @@ public final class ChatControllerImpl: TelegramBaseController, ChatController, G
|
||||
break
|
||||
}
|
||||
}
|
||||
let shareController = ShareController(context: strongSelf.context, subject: .messages(messages), openStats: { [weak self] in
|
||||
if let strongSelf = self, let cachedChannelData = strongSelf.peerView?.cachedData as? CachedChannelData {
|
||||
strongSelf.push(messageStatsController(context: strongSelf.context, messageId: id, cachedPeerData: cachedChannelData))
|
||||
}
|
||||
}, shares: shares)
|
||||
let shareController = ShareController(context: strongSelf.context, subject: .messages(messages))
|
||||
shareController.dismissed = { shared in
|
||||
if shared {
|
||||
self?.commitPurposefulAction()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user