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
|
mode = .voiceChat
|
||||||
case .videoCall:
|
case .videoCall:
|
||||||
mode = .videoChat
|
mode = .videoChat
|
||||||
case .record(_, true, _):
|
case let .record(_, video, withOthers):
|
||||||
mode = .videoRecording
|
if video && !withOthers {
|
||||||
|
mode = .videoRecording
|
||||||
|
} else {
|
||||||
|
mode = .default
|
||||||
|
}
|
||||||
default:
|
default:
|
||||||
mode = .default
|
mode = .default
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user