diff --git a/Signal/src/call/CallAudioService.swift b/Signal/src/call/CallAudioService.swift index cf0ebba2f..3bfeb3fba 100644 --- a/Signal/src/call/CallAudioService.swift +++ b/Signal/src/call/CallAudioService.swift @@ -98,11 +98,11 @@ import AVFoundation if call.hasLocalVideo { setAudioSession(category: AVAudioSessionCategoryPlayAndRecord, mode: AVAudioSessionModeVideoChat, - options: [.defaultToSpeaker]) + options: .defaultToSpeaker) } else if call.isSpeakerphoneEnabled { setAudioSession(category: AVAudioSessionCategoryPlayAndRecord, mode: AVAudioSessionModeVoiceChat, - options: [.defaultToSpeaker]) + options: .defaultToSpeaker) } else { setAudioSession(category: AVAudioSessionCategoryPlayAndRecord, mode: AVAudioSessionModeVoiceChat,