mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-07-04 10:30:42 +00:00
Try not setting videoRecording mode for round messages
This commit is contained in:
parent
f4e351ab2f
commit
b2efd29b52
@ -817,8 +817,12 @@ public final class ManagedAudioSession: NSObject {
|
||||
mode = .voiceChat
|
||||
case .videoCall:
|
||||
mode = .videoChat
|
||||
case .record(_, true, _):
|
||||
mode = .videoRecording
|
||||
case let .record(_, video, withOthers):
|
||||
if video && !withOthers {
|
||||
mode = .videoRecording
|
||||
} else {
|
||||
mode = .default
|
||||
}
|
||||
default:
|
||||
mode = .default
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user