mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-13 19:29:06 +01:00
Add GroupId to conversation items
This commit is contained in:
@@ -1,17 +1,18 @@
|
||||
package org.briarproject.api.messaging;
|
||||
|
||||
import org.briarproject.api.clients.BaseMessageHeader;
|
||||
import org.briarproject.api.sync.GroupId;
|
||||
import org.briarproject.api.sync.MessageId;
|
||||
|
||||
public class PrivateMessageHeader extends BaseMessageHeader {
|
||||
|
||||
private final String contentType;
|
||||
|
||||
public PrivateMessageHeader(MessageId id, long timestamp,
|
||||
public PrivateMessageHeader(MessageId id, GroupId groupId, long timestamp,
|
||||
String contentType, boolean local, boolean read, boolean sent,
|
||||
boolean seen) {
|
||||
|
||||
super(id, timestamp, local, read, sent, seen);
|
||||
super(id, groupId, timestamp, local, read, sent, seen);
|
||||
this.contentType = contentType;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user