Skip to content

Commit

Permalink
Re-disable video chats for now
Browse files Browse the repository at this point in the history
  • Loading branch information
Isaac committed Sep 27, 2024
1 parent 0a5d8fc commit 9d7d4bd
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion submodules/TelegramCallsUI/Sources/VoiceChatController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7098,7 +7098,10 @@ final class VoiceChatContextReferenceContentSource: ContextReferenceContentSourc
}

public func shouldUseV2VideoChatImpl(context: AccountContext) -> Bool {
var useV2 = true
var useV2 = false
if let data = context.currentAppConfiguration.with({ $0 }).data, let _ = data["ios_killswitch_enable_videochatui_v2"] {
useV2 = true
}
if context.sharedContext.immediateExperimentalUISettings.disableCallV2 {
useV2 = false
}
Expand Down

0 comments on commit 9d7d4bd

Please sign in to comment.