瀏覽代碼

Merge pull request #1941 from nextcloud/fix-call-flags-in-video-calls

Fix call flags in video calls
Tim Krueger 3 年之前
父節點
當前提交
73b772dfa1
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      app/src/main/java/com/nextcloud/talk/activities/CallActivity.java

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

@@ -1349,7 +1349,8 @@ public class CallActivity extends CallBaseActivity {
         if (isVoiceOnlyCall) {
             inCallFlag = Participant.InCallFlags.IN_CALL + Participant.InCallFlags.WITH_AUDIO;
         } else {
-            inCallFlag = Participant.InCallFlags.IN_CALL + Participant.InCallFlags.WITH_VIDEO;
+            inCallFlag =
+                Participant.InCallFlags.IN_CALL + Participant.InCallFlags.WITH_AUDIO + Participant.InCallFlags.WITH_VIDEO;
         }
 
         int apiVersion = ApiUtils.getCallApiVersion(conversationUser, new int[]{ApiUtils.APIv4, 1});