This commit is contained in:
Isaac
2025-10-28 16:56:08 +04:00
parent aa59524a09
commit 70702914b4
8 changed files with 202 additions and 32 deletions

View File

@@ -934,21 +934,6 @@ public final class PresentationGroupCallImpl: PresentationGroupCall {
if isStream {
messageLifetime = Int32.max
if self.isStream {
var allowLiveChat = false
if let data = self.accountContext.currentAppConfiguration.with({ $0 }).data {
if let dev = data["dev"] as? Double, dev != 0.0 {
allowLiveChat = true
}
if data["ios_can_join_streams"] != nil {
allowLiveChat = true
}
}
if !allowLiveChat {
preconditionFailure()
}
}
}
self.messagesContext = accountContext.engine.messages.groupCallMessages(