mirror of
https://github.com/moparisthebest/Conversations
synced 2024-11-28 03:32:15 -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
|
@Override
|
||||||
public void onBind(final Account account) {
|
public void onBind(final Account account) {
|
||||||
account.getRoster().clearPresences();
|
account.getRoster().clearPresences();
|
||||||
|
mJingleConnectionManager.cancelInTransmission();
|
||||||
fetchRosterFromServer(account);
|
fetchRosterFromServer(account);
|
||||||
fetchBookmarks(account);
|
fetchBookmarks(account);
|
||||||
mMessageArchiveService.executePendingQueries(account);
|
|
||||||
sendPresence(account);
|
sendPresence(account);
|
||||||
|
mMessageArchiveService.executePendingQueries(account);
|
||||||
connectMultiModeConversations(account);
|
connectMultiModeConversations(account);
|
||||||
mJingleConnectionManager.cancelInTransmission();
|
|
||||||
syncDirtyContacts(account);
|
syncDirtyContacts(account);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user