feat(voice): add opt-in peer-to-peer calls and country rollouts (#3367)

This commit is contained in:
Hampus authored and GitHub committed 2026-10-10 15:45:17 +02:00
1 parent e5a568acca
commit bef5e33eec
215 files changed
+15840 -2693

No files matched your search

+2 -2
View File
@@ -86,7 +86,7 @@ join_from_ringing_adds_voice_state_test() ->
initiator_ready => true
}),
{reply, ok, NewState} = call_voice:handle_join_internal(
UserId, VoiceState, SessionId, self(), ConnectionId, State
UserId, VoiceState, SessionId, self(), ConnectionId, undefined, State
),
?assert(maps:is_key(UserId, maps:get(voice_states, NewState))),
?assertNot(lists:member(UserId, maps:get(ringing, NewState))).
@@ -165,7 +165,7 @@ leave_then_rejoin_keeps_voice_state_test() ->
)
),
{reply, ok, Rejoined} = call_voice:handle_join_internal(
UserId, VoiceState, SessionId, self(), <<"conn-42">>, PostLeave
UserId, VoiceState, SessionId, self(), <<"conn-42">>, undefined, PostLeave
),
?assert(maps:is_key(UserId, maps:get(voice_states, Rejoined))).