Browse Source

Meh

Signed-off-by: Mario Danic <mario@lovelyhq.com>
Mario Danic 7 years ago
parent
commit
3d41e926a3
1 changed files with 1 additions and 1 deletions
  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;