mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
added variable
This commit is contained in:
parent
7ac8ece743
commit
f02b54a6fd
@ -1,6 +1,8 @@
|
||||
import Foundation
|
||||
import Postbox
|
||||
|
||||
public let anonymousSavedMessagesId: Int64 = 2666000
|
||||
|
||||
public extension Peer {
|
||||
var debugDisplayTitle: String {
|
||||
switch self {
|
||||
@ -427,7 +429,7 @@ public extension PeerId {
|
||||
|
||||
var isAnonymousSavedMessages: Bool {
|
||||
if self.namespace == Namespaces.Peer.CloudUser {
|
||||
if self.id._internalGetInt64Value() == 2666000 {
|
||||
if self.id._internalGetInt64Value() == anonymousSavedMessagesId {
|
||||
return true
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user