mirror of
https://github.com/oxen-io/session-android.git
synced 2025-01-11 23:23:39 +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();
|
||||
}
|
||||
|
||||
public @NonNull List<Recipient> getParticipants() {
|
||||
return participants;
|
||||
public @NonNull synchronized List<Recipient> getParticipants() {
|
||||
return new LinkedList<>(participants);
|
||||
}
|
||||
|
||||
public void setParticipants(@NonNull List<Recipient> participants) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user