CFV2 -- Add to Contacts / Mute Conversation.

This commit is contained in:
Alex Hart
2023-05-30 13:15:50 -03:00
committed by Cody Henthorne
parent 045d2cf42f
commit be01f2b511
5 changed files with 58 additions and 4 deletions

View File

@@ -840,6 +840,13 @@ public class Recipient {
return lastProfileFetch;
}
/**
* Denotes that this Recipient represents another person.
*/
public boolean isIndividual() {
return !isGroup() && !isCallLink() && !isDistributionList() && !isReleaseNotes();
}
public boolean isGroup() {
return resolve().groupId != null;
}