removed unnecessary configuration fetch after join

This commit is contained in:
Daniel Gultsch 2015-11-26 06:53:24 +01:00
parent 210de7d781
commit 84120a341a

View file

@ -1733,7 +1733,6 @@ public class XmppConnectionService extends Service implements OnPhoneContactsLoa
packet.addChild("x", "jabber:x:signed").setContent(sig);
}
sendPresencePacket(account, packet);
fetchConferenceConfiguration(conversation);
if (onConferenceJoined != null) {
onConferenceJoined.onConferenceJoined(conversation);
}
@ -1755,6 +1754,7 @@ public class XmppConnectionService extends Service implements OnPhoneContactsLoa
@Override
public void onFetchFailed(final Conversation conversation, Element error) {
join(conversation);
fetchConferenceConfiguration(conversation);
}
});