mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-24 21:15:48 +00:00
Do not enable ringing for call links.
This commit is contained in:
committed by
Cody Henthorne
parent
4caaa0033b
commit
d19b8a125c
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user