dont add new muc to roster

This commit is contained in:
Daniel Gultsch 2014-03-27 11:41:32 +01:00
parent 291dc4c36c
commit 800c18956b

View file

@ -464,7 +464,7 @@ public class ContactsActivity extends XmppActivity {
} }
public void startConversation(Contact contact, Account account, boolean muc) { public void startConversation(Contact contact, Account account, boolean muc) {
if (!contact.isInRoster()) { if (!contact.isInRoster()&&(!muc)) {
xmppConnectionService.createContact(contact); xmppConnectionService.createContact(contact);
} }
Conversation conversation = xmppConnectionService Conversation conversation = xmppConnectionService