浏览代码

Meh

Signed-off-by: Mario Danic <mario@lovelyhq.com>
Mario Danic 7 年之前
父节点
当前提交
3d41e926a3
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/src/main/java/com/nextcloud/talk/jobs/NotificationJob.java

+ 1 - 1
app/src/main/java/com/nextcloud/talk/jobs/NotificationJob.java

@@ -110,7 +110,7 @@ public class NotificationJob extends Job {
                                         .getInstance().getUserInRoom());
 
                         boolean shouldShowNotification = decryptedPushMessage.getApp().equals("spreed") &&
-                                !(isInTheSameRoomAsNotification && !decryptedPushMessage.getType().equals("call"));
+                                (!isInTheSameRoomAsNotification || decryptedPushMessage.getType().equals("call"));
 
                         if (shouldShowNotification) {
                             int smallIcon;