mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-02-25 20:23:19 +00:00
Fix shared group membership check.
This commit is contained in:
@@ -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());
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user