Skip to content

Commit

Permalink
fix: only call wcall_set_clients_for_conv when conversation protocol …
Browse files Browse the repository at this point in the history
…is proteus (#2583)
  • Loading branch information
alexandreferris authored and github-actions[bot] committed Mar 5, 2024
1 parent 97d8012 commit 0cae720
Showing 1 changed file with 8 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -420,12 +420,14 @@ class CallManagerImpl internal constructor(
conversationId: ConversationId,
clients: String
) {
withCalling {
wcall_set_clients_for_conv(
it,
federatedIdMapper.parseToFederatedId(conversationId),
clients
)
if (callRepository.getCallMetadataProfile()[conversationId]?.protocol is Conversation.ProtocolInfo.Proteus) {
withCalling {
wcall_set_clients_for_conv(
it,
federatedIdMapper.parseToFederatedId(conversationId),
clients
)
}
}
}

Expand Down

0 comments on commit 0cae720

Please sign in to comment.