mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-15 21:45:19 +00:00
Fix default create group ttl
This commit is contained in:
parent
d49d2271cf
commit
a18ff6a0a1
@ -37,6 +37,11 @@ func _internal_createGroup(account: Account, title: String, peerIds: [PeerId], t
|
||||
}
|
||||
}
|
||||
|
||||
var ttlPeriod = ttlPeriod
|
||||
if ttlPeriod == nil {
|
||||
ttlPeriod = 0
|
||||
}
|
||||
|
||||
var flags: Int32 = 0
|
||||
if let _ = ttlPeriod {
|
||||
flags |= 1 << 0
|
||||
|
Loading…
x
Reference in New Issue
Block a user