mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 14:20:20 +00:00
Fix default create group ttl
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user