diff options
author | iNPUTmice <daniel@gultsch.de> | 2014-07-24 17:21:21 +0200 |
---|---|---|
committer | iNPUTmice <daniel@gultsch.de> | 2014-07-24 17:21:21 +0200 |
commit | 52ad718251e544807f44de2a9d85ff58f06120a1 (patch) | |
tree | ee2bc5d3e100059a66c3c2db83dd10de3a1bf353 /src/eu/siacs/conversations/services/XmppConnectionService.java | |
parent | c7c3db478ad7212d3b66cf83c702cd60004ff53a (diff) |
removed duplicates from muc suggestions
Diffstat (limited to '')
-rw-r--r-- | src/eu/siacs/conversations/services/XmppConnectionService.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/eu/siacs/conversations/services/XmppConnectionService.java b/src/eu/siacs/conversations/services/XmppConnectionService.java index de0658d42..c9813d821 100644 --- a/src/eu/siacs/conversations/services/XmppConnectionService.java +++ b/src/eu/siacs/conversations/services/XmppConnectionService.java @@ -1381,7 +1381,7 @@ public class XmppConnectionService extends Service { for (Account account : accounts) { if (account.getXmppConnection() != null) { String server = account.getXmppConnection().getMucServer(); - if (server != null) { + if (server != null && !mucServers.contains(server)) { mucServers.add(server); } } |