소스 검색

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>
Daniel Calviño Sánchez 2 년 전
부모
커밋
8cdcc63687
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      app/src/main/java/com/nextcloud/talk/activities/CallActivity.java

+ 2 - 0
app/src/main/java/com/nextcloud/talk/activities/CallActivity.java

@@ -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;
                 }
             }
         }