update deliveryReceipt to conform

This commit is contained in:
John Freed committed 2021-10-07 08:24:00 +02:00
1 parent a9a6edaf3f
commit 14532befde
1 file changed
+2 -2
@@ -32,7 +32,7 @@ class JsonReceiptMessage {
} }
private JsonReceiptMessage( private JsonReceiptMessage(
final long when, final boolean isDelivery, final boolean isRead, final List<Long> timestamps final long when, final boolean isDelivery, final boolean isRead, final boolean isViewed, final List<Long> timestamps
) { ) {
this.when = when; this.when = when;
this.isDelivery = isDelivery; this.isDelivery = isDelivery;
@@ -42,6 +42,6 @@ class JsonReceiptMessage {
} }
static JsonReceiptMessage deliveryReceipt(final long when, final List<Long> timestamps) { static JsonReceiptMessage deliveryReceipt(final long when, final List<Long> timestamps) {
return new JsonReceiptMessage(when, true, false, timestamps); return new JsonReceiptMessage(when, true, false, false, timestamps);
} }
} }