Ignore room notifications

Signed-off-by: Mario Danic <mario@lovelyhq.com>
This commit is contained in:
Mario Danic 2018-05-11 20:50:29 +02:00
parent 6d2ebf2693
commit 3fd44dfc35

View file

@ -92,7 +92,8 @@ public class NotificationJob extends Job {
DecryptedPushMessage decryptedPushMessage = LoganSquare.parse(new String(decryptedSubject),
DecryptedPushMessage.class);
if (decryptedPushMessage.getApp().equals("spreed")) {
if (decryptedPushMessage.getApp().equals("spreed") &&
decryptedPushMessage.getType().equals("room")) {
int smallIcon;
Bitmap largeIcon;
String category = "";