mirror of
https://github.com/moparisthebest/Conversations
synced 2024-11-24 09:42:17 -05:00
changed order of send presence and execute mam queries
This commit is contained in:
parent
88523bbb50
commit
50817956c2
@ -248,12 +248,12 @@ public class XmppConnectionService extends Service implements OnPhoneContactsLoa
|
||||
@Override
|
||||
public void onBind(final Account account) {
|
||||
account.getRoster().clearPresences();
|
||||
mJingleConnectionManager.cancelInTransmission();
|
||||
fetchRosterFromServer(account);
|
||||
fetchBookmarks(account);
|
||||
mMessageArchiveService.executePendingQueries(account);
|
||||
sendPresence(account);
|
||||
mMessageArchiveService.executePendingQueries(account);
|
||||
connectMultiModeConversations(account);
|
||||
mJingleConnectionManager.cancelInTransmission();
|
||||
syncDirtyContacts(account);
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user