Fix shared group membership check.
This commit is contained in:
parent
b4e459d831
commit
71ab7528e7
1 changed files with 2 additions and 1 deletions
|
@ -315,7 +315,8 @@ public class RecipientUtil {
|
|||
GroupTable groupDatabase = SignalDatabase.groups();
|
||||
return groupDatabase.getPushGroupsContainingMember(recipient.getId())
|
||||
.stream()
|
||||
.anyMatch(GroupRecord::isV2Group);
|
||||
.filter(GroupRecord::isV2Group)
|
||||
.anyMatch(group -> group.memberLevel(Recipient.self()).isInGroup());
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue