mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 14:20:20 +00:00
Add back changes
This commit is contained in:
@@ -35,7 +35,9 @@ extension PeerStatusSettings {
|
||||
|
||||
var managingBot: ManagingBot?
|
||||
if let businessBotId {
|
||||
managingBot = ManagingBot(id: PeerId(namespace: Namespaces.Peer.CloudUser, id: PeerId.Id._internalFromInt64Value(businessBotId)), manageUrl: businessBotManageUrl)
|
||||
let businessBotPaused = (flags & (1 << 11)) != 0
|
||||
let businessBotCanReply = (flags & (1 << 12)) != 0
|
||||
managingBot = ManagingBot(id: PeerId(namespace: Namespaces.Peer.CloudUser, id: PeerId.Id._internalFromInt64Value(businessBotId)), manageUrl: businessBotManageUrl, isPaused: businessBotPaused, canReply: businessBotCanReply)
|
||||
}
|
||||
|
||||
self = PeerStatusSettings(flags: result, geoDistance: geoDistance, requestChatTitle: requestChatTitle, requestChatDate: requestChatDate, requestChatIsChannel: (flags & (1 << 10)) != 0, managingBot: managingBot)
|
||||
|
||||
Reference in New Issue
Block a user