mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-11-25 09:32:46 +00:00
Fix build
This commit is contained in:
parent
87b2d223f8
commit
5a8506c3a4
@ -433,6 +433,15 @@ public func isServicePeer(_ peer: Peer) -> Bool {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public extension PeerId {
|
public extension PeerId {
|
||||||
|
var isTelegramNotifications: Bool {
|
||||||
|
if self.namespace == Namespaces.Peer.CloudUser {
|
||||||
|
if self.id._internalGetInt64Value() == 777000 {
|
||||||
|
return true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return false
|
||||||
|
}
|
||||||
|
|
||||||
var isReplies: Bool {
|
var isReplies: Bool {
|
||||||
if self.namespace == Namespaces.Peer.CloudUser {
|
if self.namespace == Namespaces.Peer.CloudUser {
|
||||||
if self.id._internalGetInt64Value() == 708513 || self.id._internalGetInt64Value() == 1271266957 {
|
if self.id._internalGetInt64Value() == 708513 || self.id._internalGetInt64Value() == 1271266957 {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user