mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +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
|
var flags: Int32 = 0
|
||||||
if let _ = ttlPeriod {
|
if let _ = ttlPeriod {
|
||||||
flags |= 1 << 0
|
flags |= 1 << 0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user