mirror of
https://github.com/AsamK/signal-cli.git
synced 2026-11-29 08:55:48 +00:00
update deliveryReceipt to conform
This commit is contained in:
1 parent
a9a6edaf3f
commit
14532befde
1 file changed
+2
-2
@@ -32,7 +32,7 @@ class 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.isDelivery = isDelivery;
|
||||
@@ -42,6 +42,6 @@ class JsonReceiptMessage {
|
||||
}
|
||||
|
||||
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);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user