Refactoring

This commit is contained in:
M66B
2022-01-08 15:13:08 +01:00
parent 5281949b69
commit 78076271f4
2 changed files with 12 additions and 12 deletions

View File

@@ -31,11 +31,11 @@ public class TupleThreadInfo {
return Objects.equals(this.msgid, msgid);
}
public boolean isInReplyto(String msgid) {
public boolean isReferenced(String msgid) {
return Objects.equals(this.inreplyto, msgid);
}
public boolean isReference(String msgid) {
return !isSelf(msgid) && !isInReplyto(msgid);
public boolean isReferencing(String msgid) {
return !isSelf(msgid) && !isReferenced(msgid);
}
}