mirror of
https://github.com/nextcloud/talk-android
synced 2025-06-20 12:09:45 +01:00
Ignore room notifications
Signed-off-by: Mario Danic <mario@lovelyhq.com>
This commit is contained in:
parent
6d2ebf2693
commit
3fd44dfc35
@ -92,7 +92,8 @@ public class NotificationJob extends Job {
|
|||||||
DecryptedPushMessage decryptedPushMessage = LoganSquare.parse(new String(decryptedSubject),
|
DecryptedPushMessage decryptedPushMessage = LoganSquare.parse(new String(decryptedSubject),
|
||||||
DecryptedPushMessage.class);
|
DecryptedPushMessage.class);
|
||||||
|
|
||||||
if (decryptedPushMessage.getApp().equals("spreed")) {
|
if (decryptedPushMessage.getApp().equals("spreed") &&
|
||||||
|
decryptedPushMessage.getType().equals("room")) {
|
||||||
int smallIcon;
|
int smallIcon;
|
||||||
Bitmap largeIcon;
|
Bitmap largeIcon;
|
||||||
String category = "";
|
String category = "";
|
||||||
|
Loading…
Reference in New Issue
Block a user