Skip to content

Commit

Permalink
fix: No audio/video when in MLS call (WPB-6984) (#2584)
Browse files Browse the repository at this point in the history
* fix: only call wcall_set_clients_for_conv when conversation protocol is proteus (#2583)

* empty trigger commit

---------

Co-authored-by: Alexandre Ferris <[email protected]>
  • Loading branch information
2 people authored and jschumacher-wire committed Mar 6, 2024
1 parent ef27d24 commit 33b808e
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 33b808e

Please sign in to comment.