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
|
QueryStringValue.IsNotEmpty
|
||||||
)
|
)
|
||||||
.mapNotNull { it.asVoiceBroadcastEvent() }
|
.mapNotNull { it.asVoiceBroadcastEvent() }
|
||||||
.filter { it.content?.voiceBroadcastState != VoiceBroadcastState.STOPPED }
|
.filter { it.content?.voiceBroadcastState != null && it.content?.voiceBroadcastState != VoiceBroadcastState.STOPPED }
|
||||||
|
|
||||||
if (onGoingVoiceBroadcastEvents.isEmpty()) {
|
if (onGoingVoiceBroadcastEvents.isEmpty()) {
|
||||||
startVoiceBroadcast(room)
|
startVoiceBroadcast(room)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user