mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
Voice chat fixes
This commit is contained in:
@@ -852,7 +852,9 @@ public func rebuildControllerStackAfterSupergroupUpgrade(controller: ViewControl
|
||||
if controllers[i] === controller {
|
||||
for j in 0 ..< i {
|
||||
if controllers[j] is ChatController {
|
||||
controllers.removeSubrange(j + 1 ... i - 1)
|
||||
if j + 1 <= i - 1 {
|
||||
controllers.removeSubrange(j + 1 ... i - 1)
|
||||
}
|
||||
break
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user