mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-13 19:29:06 +01:00
make message status persistent and initialize it from database
This commit is contained in:
@@ -9,12 +9,12 @@ import org.briarproject.api.messaging.MessageId;
|
||||
public class MessagesSentEvent extends Event {
|
||||
|
||||
private final ContactId contactId;
|
||||
private final Collection<MessageId> acked;
|
||||
private final Collection<MessageId> messageIds;
|
||||
|
||||
public MessagesSentEvent(ContactId contactId,
|
||||
Collection<MessageId> acked) {
|
||||
Collection<MessageId> messageIds) {
|
||||
this.contactId = contactId;
|
||||
this.acked = acked;
|
||||
this.messageIds = messageIds;
|
||||
}
|
||||
|
||||
public ContactId getContactId() {
|
||||
@@ -22,6 +22,6 @@ public class MessagesSentEvent extends Event {
|
||||
}
|
||||
|
||||
public Collection<MessageId> getMessageIds() {
|
||||
return acked;
|
||||
return messageIds;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user