Refactor Message Request logic to fix some GV1->GV2 bugs.

This commit is contained in:
Greyson Parrelli
2020-11-23 13:10:35 -05:00
committed by Alex Hart
parent ce44e3949c
commit 43e3ef2bee
11 changed files with 204 additions and 205 deletions

View File

@@ -966,7 +966,10 @@ public final class GroupDatabase extends Database {
}
}
boolean isPendingMember(@NonNull Recipient recipient) {
/**
* Whether or not the recipient is a pending member.
*/
public boolean isPendingMember(@NonNull Recipient recipient) {
if (isV2Group()) {
Optional<UUID> uuid = recipient.getUuid();
if (uuid.isPresent()) {