VoiceBroadcast - Ignore voice broadcast info with empty content (eg. redacted)
This commit is contained in:
parent
f05f0a85b0
commit
6d6b4e5208
|
@ -55,7 +55,7 @@ class StartVoiceBroadcastUseCase @Inject constructor(
|
|||
QueryStringValue.IsNotEmpty
|
||||
)
|
||||
.mapNotNull { it.asVoiceBroadcastEvent() }
|
||||
.filter { it.content?.voiceBroadcastState != VoiceBroadcastState.STOPPED }
|
||||
.filter { it.content?.voiceBroadcastState != null && it.content?.voiceBroadcastState != VoiceBroadcastState.STOPPED }
|
||||
|
||||
if (onGoingVoiceBroadcastEvents.isEmpty()) {
|
||||
startVoiceBroadcast(room)
|
||||
|
|
Loading…
Reference in New Issue