Do not enable ringing for call links.
This commit is contained in:
parent
4caaa0033b
commit
d19b8a125c
2 changed files with 8 additions and 0 deletions
|
@ -87,6 +87,9 @@ class CallLinkPreJoinActionProcessor(
|
|||
|
||||
SignalStore.tooltips().markGroupCallingLobbyEntered()
|
||||
return currentState.builder()
|
||||
.changeCallSetupState(RemotePeer.GROUP_CALL_ID)
|
||||
.setRingGroup(false)
|
||||
.commit()
|
||||
.changeCallInfoState()
|
||||
.groupCall(groupCall)
|
||||
.groupCallState(WebRtcViewModel.GroupCallState.DISCONNECTED)
|
||||
|
|
|
@ -973,6 +973,11 @@ private void processStateless(@NonNull Function1<WebRtcEphemeralState, WebRtcEph
|
|||
}
|
||||
|
||||
public void sendGroupCallUpdateMessage(@NonNull Recipient recipient, @Nullable String groupCallEraId, boolean isIncoming, boolean isJoinEvent) {
|
||||
if (recipient.isCallLink()) {
|
||||
Log.i(TAG, "sendGroupCallUpdateMessage -- ignoring for call link");
|
||||
return;
|
||||
}
|
||||
|
||||
SignalExecutors.BOUNDED.execute(() -> {
|
||||
GroupCallUpdateSendJob updateSendJob = GroupCallUpdateSendJob.create(recipient.getId(), groupCallEraId);
|
||||
JobManager.Chain chain = ApplicationDependencies.getJobManager().startChain(updateSendJob);
|
||||
|
|
Loading…
Add table
Reference in a new issue