Do not show stories for inactive groups.

This commit is contained in:
Greyson Parrelli
2022-12-05 17:20:58 -05:00
parent 88a8430c31
commit 54251a27a8
4 changed files with 23 additions and 5 deletions

View File

@@ -877,6 +877,10 @@ public class Recipient {
return Stream.of(getParticipantIds()).anyMatch(p -> p.equals(selfId));
}
public boolean isInactiveGroup() {
return isGroup() && !isActiveGroup();
}
public @NonNull List<RecipientId> getParticipantIds() {
return new ArrayList<>(participantIds);
}