mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
Topic improvements + interval ads
This commit is contained in:
@@ -85,7 +85,7 @@ public final class ChatSendMessageActionSheetController: ViewController {
|
||||
var isSecret = false
|
||||
var canSchedule = false
|
||||
var hasEntityKeyboard = false
|
||||
if case let .peer(peerId) = self.interfaceState.chatLocation {
|
||||
if let peerId = self.interfaceState.chatLocation.peerId {
|
||||
reminders = peerId == context.account.peerId
|
||||
isSecret = peerId.namespace == Namespaces.Peer.SecretChat
|
||||
canSchedule = !isSecret
|
||||
|
||||
Reference in New Issue
Block a user