mirror of
https://github.com/vector-im/element-android.git
synced 2024-11-15 01:35:07 +08:00
Fix line length
This commit is contained in:
parent
c3090fa45a
commit
8ea909970d
@ -137,7 +137,8 @@ class StartVoiceBroadcastUseCase @Inject constructor(
|
||||
@VisibleForTesting
|
||||
fun assertNoOngoingVoiceBroadcast(room: Room) {
|
||||
when {
|
||||
voiceBroadcastRecorder?.recordingState == VoiceBroadcastRecorder.State.Recording || voiceBroadcastRecorder?.recordingState == VoiceBroadcastRecorder.State.Paused -> {
|
||||
voiceBroadcastRecorder?.recordingState == VoiceBroadcastRecorder.State.Recording ||
|
||||
voiceBroadcastRecorder?.recordingState == VoiceBroadcastRecorder.State.Paused -> {
|
||||
Timber.d("## StartVoiceBroadcastUseCase: Cannot start voice broadcast: another voice broadcast")
|
||||
throw VoiceBroadcastFailure.RecordingError.UserAlreadyBroadcasting
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user