mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-15 04:18:53 +01:00
Load forum post text lazily.
This commit is contained in:
@@ -16,13 +16,10 @@ public class ForumPostReceivedEvent extends Event {
|
||||
|
||||
private final GroupId groupId;
|
||||
private final ForumPostHeader header;
|
||||
private final String text;
|
||||
|
||||
public ForumPostReceivedEvent(GroupId groupId, ForumPostHeader header,
|
||||
String text) {
|
||||
public ForumPostReceivedEvent(GroupId groupId, ForumPostHeader header) {
|
||||
this.groupId = groupId;
|
||||
this.header = header;
|
||||
this.text = text;
|
||||
}
|
||||
|
||||
public GroupId getGroupId() {
|
||||
@@ -32,8 +29,4 @@ public class ForumPostReceivedEvent extends Event {
|
||||
public ForumPostHeader getHeader() {
|
||||
return header;
|
||||
}
|
||||
|
||||
public String getText() {
|
||||
return text;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user