Browse Source

Dont return success when starting activity

Signed-off-by: Mario Danic <mario@lovelyhq.com>
Mario Danic 6 years ago
parent
commit
482e91655c
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

@@ -161,7 +161,7 @@ public class NotificationJob extends Job {
                             switch (decryptedPushMessage.getType()) {
                             switch (decryptedPushMessage.getType()) {
                                 case "call":
                                 case "call":
                                     context.startActivity(intent);
                                     context.startActivity(intent);
-                                    return Result.SUCCESS;
+                                    break;
                                 case "room":
                                 case "room":
                                     // do absolutely nothing, we won't even come to this point
                                     // do absolutely nothing, we won't even come to this point
                                     break;
                                     break;