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