aboutsummaryrefslogtreecommitdiffstats
path: root/src/eu/siacs/conversations/xmpp/XmppConnection.java
diff options
context:
space:
mode:
authoriNPUTmice <daniel@gultsch.de>2014-06-12 09:54:19 +0200
committeriNPUTmice <daniel@gultsch.de>2014-06-12 09:54:19 +0200
commite353a1c109f68f212c9fbf76c5186be97c835628 (patch)
tree8090d1ead58b6310c973f8b588aba17870608660 /src/eu/siacs/conversations/xmpp/XmppConnection.java
parentbb9045267393b2a7765d7c121b58c5e7043b525e (diff)
made muc join easier if muc server is known. added room to key words
Diffstat (limited to 'src/eu/siacs/conversations/xmpp/XmppConnection.java')
-rw-r--r--src/eu/siacs/conversations/xmpp/XmppConnection.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/eu/siacs/conversations/xmpp/XmppConnection.java b/src/eu/siacs/conversations/xmpp/XmppConnection.java
index 74639d42..4ac61ca7 100644
--- a/src/eu/siacs/conversations/xmpp/XmppConnection.java
+++ b/src/eu/siacs/conversations/xmpp/XmppConnection.java
@@ -936,7 +936,7 @@ public class XmppConnection implements Runnable {
.iterator();
while (it.hasNext()) {
Entry<String, List<String>> pairs = it.next();
- if (pairs.getValue().contains(feature)) {
+ if (pairs.getValue().contains(feature)&&pairs.getValue().size()==1) {
return pairs.getKey();
}
it.remove();