Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(transcription): Drops TranscriberManager and expects dialIQ. #1163

Merged
merged 5 commits into from
Sep 13, 2024

Conversation

damencho
Copy link
Member

No description provided.

@damencho damencho requested a review from bgrozev August 30, 2024 14:26
bgrozev
bgrozev previously approved these changes Sep 4, 2024
@@ -96,6 +97,14 @@ open class JigasiDetector(
transcriberCount.set(getInstanceCount { it.supportsTranscription() }.toLong())
}

fun hasTranscriber(chatRoom: ChatRoom?): Boolean {
chatRoom?.let {
chatRoom.members.firstOrNull { member -> member.isTranscriber } != null
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Semantically this should be any not firstOrNull != null

JonathanLennox
JonathanLennox previously approved these changes Sep 13, 2024
@damencho damencho merged commit 5cba140 into master Sep 13, 2024
3 checks passed
@damencho damencho deleted the non-moderator-features branch September 13, 2024 16:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants