mirror of
https://github.com/oxen-io/session-android.git
synced 2025-06-10 21:38:34 +00:00
Drop requests to deny stale incoming calls.
This is not an illegal state, as the remote side could have hung-up a microsecond before the local side tries to deny the call.
This commit is contained in:
parent
9506da6dd3
commit
58b7612987
@ -423,7 +423,8 @@ public class WebRtcCallService extends Service implements CallManager.Observer,
|
||||
|
||||
private void handleDenyCall(Intent intent) {
|
||||
if (activePeer == null) {
|
||||
throw new IllegalStateException("Deny with no active call");
|
||||
Log.i(TAG, "handleDenyCall(): Ignoring for inactive call.");
|
||||
return;
|
||||
}
|
||||
|
||||
if (activePeer.getState() != CallState.LOCAL_RINGING) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user