mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-24 07:05:35 +00:00
[WIP] Monoforums
This commit is contained in:
@@ -271,7 +271,6 @@ public final class ChatControllerInteraction: ChatControllerInteractionProtocol
|
||||
public let sendGift: (EnginePeer.Id) -> Void
|
||||
public let openUniqueGift: (String) -> Void
|
||||
public let openMessageFeeException: () -> Void
|
||||
|
||||
public let requestMessageUpdate: (MessageId, Bool) -> Void
|
||||
public let cancelInteractiveKeyboardGestures: () -> Void
|
||||
public let dismissTextInput: () -> Void
|
||||
@@ -281,6 +280,7 @@ public final class ChatControllerInteraction: ChatControllerInteractionProtocol
|
||||
public let forceUpdateWarpContents: () -> Void
|
||||
public let playShakeAnimation: () -> Void
|
||||
public let displayQuickShare: (MessageId, ASDisplayNode, ContextGesture) -> Void
|
||||
public let updateChatLocationThread: (Int64?) -> Void
|
||||
|
||||
public var canPlayMedia: Bool = false
|
||||
public var hiddenMedia: [MessageId: [Media]] = [:]
|
||||
@@ -328,6 +328,8 @@ public final class ChatControllerInteraction: ChatControllerInteractionProtocol
|
||||
}
|
||||
}
|
||||
|
||||
public var isSidePanelOpen: Bool = false
|
||||
|
||||
public init(
|
||||
openMessage: @escaping (Message, OpenMessageParams) -> Bool,
|
||||
openPeer: @escaping (EnginePeer, ChatControllerInteractionNavigateToPeer, MessageReference?, OpenPeerSource) -> Void,
|
||||
@@ -441,6 +443,7 @@ public final class ChatControllerInteraction: ChatControllerInteractionProtocol
|
||||
forceUpdateWarpContents: @escaping () -> Void,
|
||||
playShakeAnimation: @escaping () -> Void,
|
||||
displayQuickShare: @escaping (MessageId, ASDisplayNode, ContextGesture) -> Void,
|
||||
updateChatLocationThread: @escaping (Int64?) -> Void,
|
||||
automaticMediaDownloadSettings: MediaAutoDownloadSettings,
|
||||
pollActionState: ChatInterfacePollActionState,
|
||||
stickerSettings: ChatInterfaceStickerSettings,
|
||||
@@ -559,6 +562,7 @@ public final class ChatControllerInteraction: ChatControllerInteractionProtocol
|
||||
self.forceUpdateWarpContents = forceUpdateWarpContents
|
||||
self.playShakeAnimation = playShakeAnimation
|
||||
self.displayQuickShare = displayQuickShare
|
||||
self.updateChatLocationThread = updateChatLocationThread
|
||||
|
||||
self.automaticMediaDownloadSettings = automaticMediaDownloadSettings
|
||||
|
||||
|
||||
Reference in New Issue
Block a user