diff --git a/jicofo/src/main/kotlin/org/jitsi/jicofo/jigasi/JigasiDetector.kt b/jicofo/src/main/kotlin/org/jitsi/jicofo/jigasi/JigasiDetector.kt index ad950f015..f5f6e0785 100644 --- a/jicofo/src/main/kotlin/org/jitsi/jicofo/jigasi/JigasiDetector.kt +++ b/jicofo/src/main/kotlin/org/jitsi/jicofo/jigasi/JigasiDetector.kt @@ -99,7 +99,7 @@ open class JigasiDetector( fun hasTranscriber(chatRoom: ChatRoom?): Boolean { chatRoom?.let { - chatRoom.members.firstOrNull { member -> member.isTranscriber } != null + chatRoom.members.any { member -> member.isTranscriber } } return false