aboutsummaryrefslogtreecommitdiffstats
path: root/src/eu/siacs
diff options
context:
space:
mode:
authorDaniel Gultsch <daniel.gultsch@rwth-aachen.de>2014-03-27 11:41:32 +0100
committerDaniel Gultsch <daniel.gultsch@rwth-aachen.de>2014-03-27 11:41:32 +0100
commit800c18956bab81e95fb3d06076b2b1a0fe40ba90 (patch)
tree83a39ce65bb2b0b1f302972d5425d8651187605a /src/eu/siacs
parent291dc4c36c72abda41cbfff9d665d0f95b1dbb5a (diff)
dont add new muc to roster
Diffstat (limited to 'src/eu/siacs')
-rw-r--r--src/eu/siacs/conversations/ui/ContactsActivity.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/eu/siacs/conversations/ui/ContactsActivity.java b/src/eu/siacs/conversations/ui/ContactsActivity.java
index 1bd6e72f..2e9e55f5 100644
--- a/src/eu/siacs/conversations/ui/ContactsActivity.java
+++ b/src/eu/siacs/conversations/ui/ContactsActivity.java
@@ -464,7 +464,7 @@ public class ContactsActivity extends XmppActivity {
}
public void startConversation(Contact contact, Account account, boolean muc) {
- if (!contact.isInRoster()) {
+ if (!contact.isInRoster()&&(!muc)) {
xmppConnectionService.createContact(contact);
}
Conversation conversation = xmppConnectionService