mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-14 03:39:05 +01:00
Load private group text lazily too, what the heck.
This commit is contained in:
@@ -17,14 +17,12 @@ public class GroupMessageAddedEvent extends Event {
|
||||
|
||||
private final GroupId groupId;
|
||||
private final GroupMessageHeader header;
|
||||
private final String text;
|
||||
private final boolean local;
|
||||
|
||||
public GroupMessageAddedEvent(GroupId groupId, GroupMessageHeader header,
|
||||
String text, boolean local) {
|
||||
boolean local) {
|
||||
this.groupId = groupId;
|
||||
this.header = header;
|
||||
this.text = text;
|
||||
this.local = local;
|
||||
}
|
||||
|
||||
@@ -36,10 +34,6 @@ public class GroupMessageAddedEvent extends Event {
|
||||
return header;
|
||||
}
|
||||
|
||||
public String getText() {
|
||||
return text;
|
||||
}
|
||||
|
||||
public boolean isLocal() {
|
||||
return local;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user