aboutsummaryrefslogtreecommitdiffstats
path: root/src/eu/siacs/conversations/services/XmppConnectionService.java
diff options
context:
space:
mode:
authoriNPUTmice <daniel@gultsch.de>2014-07-24 17:21:21 +0200
committeriNPUTmice <daniel@gultsch.de>2014-07-24 17:21:21 +0200
commit52ad718251e544807f44de2a9d85ff58f06120a1 (patch)
treeee2bc5d3e100059a66c3c2db83dd10de3a1bf353 /src/eu/siacs/conversations/services/XmppConnectionService.java
parentc7c3db478ad7212d3b66cf83c702cd60004ff53a (diff)
removed duplicates from muc suggestions
Diffstat (limited to '')
-rw-r--r--src/eu/siacs/conversations/services/XmppConnectionService.java2
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 de0658d4..c9813d82 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);
}
}