diff options
author | iNPUTmice <daniel@gultsch.de> | 2014-06-12 09:54:19 +0200 |
---|---|---|
committer | iNPUTmice <daniel@gultsch.de> | 2014-06-12 09:54:19 +0200 |
commit | e353a1c109f68f212c9fbf76c5186be97c835628 (patch) | |
tree | 8090d1ead58b6310c973f8b588aba17870608660 /src/eu/siacs/conversations/xmpp/XmppConnection.java | |
parent | bb9045267393b2a7765d7c121b58c5e7043b525e (diff) |
made muc join easier if muc server is known. added room to key words
Diffstat (limited to '')
-rw-r--r-- | src/eu/siacs/conversations/xmpp/XmppConnection.java | 2 |
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 74639d427..4ac61ca7f 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(); |