mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-24 10:51:27 +01:00
CFV2 -- Add to Contacts / Mute Conversation.
This commit is contained in:
committed by
Cody Henthorne
parent
045d2cf42f
commit
be01f2b511
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user