mirror of
https://github.com/oxen-io/session-android.git
synced 2025-12-14 22:31:51 +00:00
Adapt message requests to support invite flow.
This commit is contained in:
@@ -252,6 +252,12 @@ public final class DecryptedGroupUtil {
|
||||
return -1;
|
||||
}
|
||||
|
||||
public static Optional<UUID> findInviter(List<DecryptedPendingMember> pendingMembersList, UUID uuid) {
|
||||
return Optional.fromNullable(findPendingByUuid(pendingMembersList, uuid).transform(DecryptedPendingMember::getAddedByUuid)
|
||||
.transform(UuidUtil::fromByteStringOrNull)
|
||||
.orNull());
|
||||
}
|
||||
|
||||
public static class NotAbleToApplyChangeException extends Throwable {
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user