mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 14:20:20 +00:00
[WIP] Saved messages
This commit is contained in:
@@ -56,7 +56,7 @@ private func titleAndColorForAction(_ action: SubscriberAction, theme: Presentat
|
||||
}
|
||||
|
||||
private func actionForPeer(context: AccountContext, peer: Peer, interfaceState: ChatPresentationInterfaceState, isJoining: Bool, isMuted: Bool) -> SubscriberAction? {
|
||||
if case let .replyThread(message) = interfaceState.chatLocation, message.messageId.peerId == context.account.peerId {
|
||||
if case let .replyThread(message) = interfaceState.chatLocation, message.peerId == context.account.peerId {
|
||||
if let peer = interfaceState.savedMessagesTopicPeer {
|
||||
if case let .channel(channel) = peer {
|
||||
if case .broadcast = channel.info {
|
||||
|
||||
Reference in New Issue
Block a user