Return without further processing if the call is remotely ended

If the call is hung up with a view shutdown (which finishes the
activity) there is no need to do any further processing on the
participant list.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
This commit is contained in:
Daniel Calviño Sánchez 2022-11-20 01:48:36 +01:00 committed by Marcel Hibbe (Rebase PR Action)
parent 379ec8eae8
commit 8cdcc63687

View file

@ -1879,6 +1879,8 @@ public class CallActivity extends CallBaseActivity {
if (inCallFlag == 0 && currentCallStatus != CallStatus.LEAVING && ApplicationWideCurrentRoomHolder.getInstance().isInCall()) {
Log.d(TAG, "Most probably a moderator ended the call for all.");
hangup(true);
return;
}
}
}