Show alias for introduction notices in private conversation

This commit is contained in:
Torsten Grote
2018-10-29 19:23:22 -03:00
parent 44e1ce32ce
commit 34eaedbd63
8 changed files with 80 additions and 36 deletions

View File

@@ -10,7 +10,11 @@ import javax.annotation.concurrent.Immutable;
public class AuthorInfo {
public enum Status {
NONE, ANONYMOUS, UNKNOWN, UNVERIFIED, VERIFIED, OURSELVES
NONE, ANONYMOUS, UNKNOWN, UNVERIFIED, VERIFIED, OURSELVES;
public boolean isContact() {
return this == UNVERIFIED || this == VERIFIED;
}
}
private final Status status;