mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
Peer sound and message removal update
This commit is contained in:
@@ -142,6 +142,7 @@ public final class ChatPanelInterfaceInteraction {
|
||||
public let openSendAsPeer: (ASDisplayNode, ContextGesture?) -> Void
|
||||
public let presentChatRequestAdminInfo: () -> Void
|
||||
public let displayCopyProtectionTip: (ASDisplayNode, Bool) -> Void
|
||||
public let chatController: () -> ViewController?
|
||||
public let statuses: ChatPanelInterfaceInteractionStatuses?
|
||||
|
||||
public init(
|
||||
@@ -233,6 +234,7 @@ public final class ChatPanelInterfaceInteraction {
|
||||
openSendAsPeer: @escaping (ASDisplayNode, ContextGesture?) -> Void,
|
||||
presentChatRequestAdminInfo: @escaping () -> Void,
|
||||
displayCopyProtectionTip: @escaping (ASDisplayNode, Bool) -> Void,
|
||||
chatController: @escaping () -> ViewController?,
|
||||
statuses: ChatPanelInterfaceInteractionStatuses?
|
||||
) {
|
||||
self.setupReplyMessage = setupReplyMessage
|
||||
@@ -323,6 +325,7 @@ public final class ChatPanelInterfaceInteraction {
|
||||
self.openSendAsPeer = openSendAsPeer
|
||||
self.presentChatRequestAdminInfo = presentChatRequestAdminInfo
|
||||
self.displayCopyProtectionTip = displayCopyProtectionTip
|
||||
self.chatController = chatController
|
||||
self.statuses = statuses
|
||||
}
|
||||
|
||||
@@ -420,6 +423,8 @@ public final class ChatPanelInterfaceInteraction {
|
||||
}, openSendAsPeer: { _, _ in
|
||||
}, presentChatRequestAdminInfo: {
|
||||
}, displayCopyProtectionTip: { _, _ in
|
||||
}, chatController: {
|
||||
return nil
|
||||
}, statuses: nil)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user