mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 14:20:20 +00:00
Paid media improvements
This commit is contained in:
@@ -847,7 +847,7 @@ open class ChatMessageItemView: ListViewItemNode, ChatMessageItemNodeProtocol {
|
||||
item.controllerInteraction.activateSwitchInline(peerId, "@\(addressName) \(query)", peerTypes)
|
||||
}
|
||||
case .payment:
|
||||
item.controllerInteraction.openCheckoutOrReceipt(item.message.id)
|
||||
item.controllerInteraction.openCheckoutOrReceipt(item.message.id, nil)
|
||||
case let .urlAuth(url, buttonId):
|
||||
item.controllerInteraction.requestMessageActionUrlAuth(url, .message(id: item.message.id, buttonId: buttonId))
|
||||
case .setupPoll:
|
||||
@@ -881,6 +881,10 @@ open class ChatMessageItemView: ListViewItemNode, ChatMessageItemNodeProtocol {
|
||||
open func openMessageContextMenu() {
|
||||
}
|
||||
|
||||
open func makeProgress() -> Promise<Bool>? {
|
||||
return nil
|
||||
}
|
||||
|
||||
open func targetReactionView(value: MessageReaction.Reaction) -> UIView? {
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user