Revert "Fix parsing a little bit"

This reverts commit c311ec9bf4.
This commit is contained in:
Mario Danic 2018-08-06 23:12:20 +02:00
parent c311ec9bf4
commit 298483acbd
2 changed files with 2 additions and 2 deletions

View file

@ -187,7 +187,7 @@ public class NotificationJob extends Job {
// do absolutely nothing, we won't even come to this point // do absolutely nothing, we won't even come to this point
break; break;
case "chat": case "chat":
if (decryptedPushMessage.getNotificationId() != null) { if (decryptedPushMessage.getNotificationId() != Long.MIN_VALUE) {
showMessageNotificationWithObjectData(intent); showMessageNotificationWithObjectData(intent);
} else { } else {
showNotification(intent); showNotification(intent);

View file

@ -45,7 +45,7 @@ public class DecryptedPushMessage {
String id; String id;
@JsonField(name = "nid") @JsonField(name = "nid")
Long notificationId; long notificationId;
@JsonIgnore @JsonIgnore
String text; String text;