mirror of
https://github.com/oxen-io/session-android.git
synced 2025-04-16 12:21:40 +00:00
Synchronize and copy Recipient.getParticipants
This commit is contained in:
parent
37092eee01
commit
f100137e0f
@ -376,8 +376,8 @@ public class Recipient implements RecipientModifiedListener {
|
|||||||
return address.isGroup() && !address.isMmsGroup();
|
return address.isGroup() && !address.isMmsGroup();
|
||||||
}
|
}
|
||||||
|
|
||||||
public @NonNull List<Recipient> getParticipants() {
|
public @NonNull synchronized List<Recipient> getParticipants() {
|
||||||
return participants;
|
return new LinkedList<>(participants);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setParticipants(@NonNull List<Recipient> participants) {
|
public void setParticipants(@NonNull List<Recipient> participants) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user