mirror of
https://github.com/nextcloud/talk-android.git
synced 2024-11-23 21:45:42 +03:00
parent
c311ec9bf4
commit
298483acbd
2 changed files with 2 additions and 2 deletions
|
@ -187,7 +187,7 @@ public class NotificationJob extends Job {
|
|||
// do absolutely nothing, we won't even come to this point
|
||||
break;
|
||||
case "chat":
|
||||
if (decryptedPushMessage.getNotificationId() != null) {
|
||||
if (decryptedPushMessage.getNotificationId() != Long.MIN_VALUE) {
|
||||
showMessageNotificationWithObjectData(intent);
|
||||
} else {
|
||||
showNotification(intent);
|
||||
|
|
|
@ -45,7 +45,7 @@ public class DecryptedPushMessage {
|
|||
String id;
|
||||
|
||||
@JsonField(name = "nid")
|
||||
Long notificationId;
|
||||
long notificationId;
|
||||
|
||||
@JsonIgnore
|
||||
String text;
|
||||
|
|
Loading…
Reference in a new issue