فهرست منبع

Fix a bug with checking if user is already in a call

Signed-off-by: Mario Danic <mario@lovelyhq.com>
Mario Danic 7 سال پیش
والد
کامیت
09dfd42bb7
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      app/src/main/java/com/nextcloud/talk/controllers/CallNotificationController.java

+ 1 - 1
app/src/main/java/com/nextcloud/talk/controllers/CallNotificationController.java

@@ -155,8 +155,8 @@ public class CallNotificationController extends BaseController {
 
                                 if (participant.getUserId().equals(userBeingCalled.getUserId())) {
                                     inCallOnDifferentDevice = true;
+                                    break;
                                 }
-                                break;
                             }
                         }