mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
- isSecretChat method for PeerId
This commit is contained in:
@@ -433,4 +433,7 @@ public extension PeerId {
|
|||||||
}
|
}
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
var isSecretChat: Bool {
|
||||||
|
return self.namespace == Namespaces.Peer.SecretChat
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user