X-Git-Url: https://git.nmode.ca/signal-cli/blobdiff_plain/e5a8cdb056e247eed0486d7e856b8826cb4998a3..be0993c5d8171aff9190e152b095677be4088112:/lib/src/main/java/org/asamk/signal/manager/MultiAccountManagerImpl.java diff --git a/lib/src/main/java/org/asamk/signal/manager/MultiAccountManagerImpl.java b/lib/src/main/java/org/asamk/signal/manager/MultiAccountManagerImpl.java index dc72aeeb..83f0bb26 100644 --- a/lib/src/main/java/org/asamk/signal/manager/MultiAccountManagerImpl.java +++ b/lib/src/main/java/org/asamk/signal/manager/MultiAccountManagerImpl.java @@ -49,6 +49,13 @@ public class MultiAccountManagerImpl implements MultiAccountManager { } } + @Override + public List getManagers() { + synchronized (managers) { + return new ArrayList<>(managers); + } + } + void addManager(final Manager m) { synchronized (managers) { if (managers.contains(m)) {