Fix missed call notification when busy on another device.

fork-5.53.8
Cody Henthorne 2022-09-30 11:00:00 -04:00 zatwierdzone przez Greyson Parrelli
rodzic 52965da8a5
commit c1f3e27101
2 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -159,7 +159,7 @@ public final class InternalValues extends SignalStoreValues {
*/
public synchronized boolean callingDisableTelecom() {
if (FeatureFlags.internalUser()) {
return getBoolean(CALLING_DISABLE_TELECOM, false);
return getBoolean(CALLING_DISABLE_TELECOM, true);
} else {
return false;
}

Wyświetl plik

@ -165,7 +165,7 @@ public class ActiveCallActionProcessorDelegate extends WebRtcActionProcessor {
state = Objects.requireNonNull(ENDED_REMOTE_EVENT_TO_STATE.get(endedRemoteEvent));
}
if (endedRemoteEvent == CallEvent.ENDED_REMOTE_HANGUP) {
if (endedRemoteEvent == CallEvent.ENDED_REMOTE_HANGUP || endedRemoteEvent == CallEvent.ENDED_REMOTE_HANGUP_BUSY) {
if (remotePeerIsActive) {
state = outgoingBeforeAccept ? WebRtcViewModel.State.RECIPIENT_UNAVAILABLE : WebRtcViewModel.State.CALL_DISCONNECTED;
}