From 800c18956bab81e95fb3d06076b2b1a0fe40ba90 Mon Sep 17 00:00:00 2001 From: Daniel Gultsch Date: Thu, 27 Mar 2014 11:41:32 +0100 Subject: dont add new muc to roster --- src/eu/siacs/conversations/ui/ContactsActivity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/eu/siacs/conversations/ui') 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 -- cgit v1.2.3