Load private group text lazily too, what the heck.

This commit is contained in:
akwizgran
2025-04-29 12:50:52 +01:00
parent 1542be20db
commit 16104b84b2
10 changed files with 41 additions and 79 deletions

View File

@@ -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;
}