mirror of
https://github.com/oxen-io/session-android.git
synced 2025-10-25 05:39:18 +00:00
Listen for recipient changes in conversations and group updates.
Closes #4079 // FREEBIE
This commit is contained in:
@@ -179,7 +179,7 @@ public class Recipient {
|
||||
}
|
||||
|
||||
for (RecipientModifiedListener listener : localListeners)
|
||||
listener.onModified(Recipient.this);
|
||||
listener.onModified(this);
|
||||
}
|
||||
|
||||
public interface RecipientModifiedListener {
|
||||
|
||||
@@ -185,9 +185,7 @@ public class Recipients implements Iterable<Recipient>, RecipientModifiedListene
|
||||
}
|
||||
}
|
||||
|
||||
synchronized (this) {
|
||||
listeners.add(listener);
|
||||
}
|
||||
listeners.add(listener);
|
||||
}
|
||||
|
||||
public synchronized void removeListener(RecipientsModifiedListener listener) {
|
||||
|
||||
Reference in New Issue
Block a user