mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
Initial peer id refactoring
This commit is contained in:
@@ -196,7 +196,7 @@ private enum RevealOptionKey: Int32 {
|
||||
}
|
||||
|
||||
private func canArchivePeer(id: PeerId, accountPeerId: PeerId) -> Bool {
|
||||
if id.namespace == Namespaces.Peer.CloudUser && id.id == 777000 {
|
||||
if id.namespace == Namespaces.Peer.CloudUser && id.id._internalGetInt32Value() == 777000 {
|
||||
return false
|
||||
}
|
||||
if id == accountPeerId {
|
||||
|
||||
Reference in New Issue
Block a user