From 800c18956bab81e95fb3d06076b2b1a0fe40ba90 Mon Sep 17 00:00:00 2001 From: Daniel Gultsch Date: Thu, 27 Mar 2014 11:41:32 +0100 Subject: [PATCH] dont add new muc to roster --- src/eu/siacs/conversations/ui/ContactsActivity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/eu/siacs/conversations/ui/ContactsActivity.java b/src/eu/siacs/conversations/ui/ContactsActivity.java index 1bd6e72fa..2e9e55f5f 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