mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-17 13:05:32 +09:00
feat(voice): add opt-in peer-to-peer calls and country rollouts (#3367)
This commit is contained in:
1 parent
e5a568acca
commit
bef5e33eec
215 files changed
+15840
-2693
No files matched your search
@@ -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))).
|
||||
|
||||
|
||||
Reference in new issue
Block a user