mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-26 03:40:56 +01:00
Show Group V2 invited member dialog explaining invites on new group and add to group.
This commit is contained in:
committed by
Greyson Parrelli
parent
ae2b6e4d7a
commit
a59e214317
@@ -47,6 +47,7 @@ import org.whispersystems.signalservice.api.push.SignalServiceAddress;
|
||||
import org.whispersystems.signalservice.api.util.UuidUtil;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collection;
|
||||
import java.util.Collections;
|
||||
import java.util.LinkedList;
|
||||
import java.util.List;
|
||||
@@ -125,6 +126,17 @@ public class Recipient {
|
||||
return live(id).resolve();
|
||||
}
|
||||
|
||||
@WorkerThread
|
||||
public static @NonNull List<Recipient> resolvedList(@NonNull Collection<RecipientId> ids) {
|
||||
List<Recipient> recipients = new ArrayList<>(ids.size());
|
||||
|
||||
for (RecipientId recipientId : ids) {
|
||||
recipients.add(resolved(recipientId));
|
||||
}
|
||||
|
||||
return recipients;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a fully-populated {@link Recipient} and associates it with the provided username.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user