mirror of
https://github.com/oxen-io/session-android.git
synced 2025-08-25 23:47:26 +00:00
Set profile sharing based on who added you to the group.
This commit is contained in:

committed by
Cody Henthorne

parent
a870ef0030
commit
c797b09228
@@ -160,16 +160,6 @@ public final class DecryptedGroupUtil {
|
||||
return Optional.absent();
|
||||
}
|
||||
|
||||
public static Optional<DecryptedMember> firstMember(Collection<DecryptedMember> members) {
|
||||
Iterator<DecryptedMember> iterator = members.iterator();
|
||||
|
||||
if (iterator.hasNext()) {
|
||||
return Optional.of(iterator.next());
|
||||
} else {
|
||||
return Optional.absent();
|
||||
}
|
||||
}
|
||||
|
||||
public static Optional<DecryptedPendingMember> findPendingByUuid(Collection<DecryptedPendingMember> members, UUID uuid) {
|
||||
ByteString uuidBytes = UuidUtil.toByteString(uuid);
|
||||
|
||||
|
Reference in New Issue
Block a user