mirror of
https://github.com/TelegramMessenger/Telegram-iOS.git
synced 2026-07-06 03:33:41 +02:00
- isSecretChat method for PeerId
This commit is contained in:
parent
1f95e664df
commit
cdb02411b1
1 changed files with 3 additions and 0 deletions
|
|
@ -433,4 +433,7 @@ public extension PeerId {
|
|||
}
|
||||
return false
|
||||
}
|
||||
var isSecretChat: Bool {
|
||||
return self.namespace == Namespaces.Peer.SecretChat
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue