mirror of
https://github.com/moparisthebest/Conversations
synced 2024-11-28 11:42:15 -05:00
fixed session objects not being build on start up
This commit is contained in:
parent
6a458b853c
commit
34bcc59f72
@ -323,7 +323,6 @@ public class AxolotlService implements OnAdvancedStreamFeaturesLoaded {
|
|||||||
setTrustOnSessions(jid, newDevices, XmppAxolotlSession.Trust.INACTIVE_UNTRUSTED,
|
setTrustOnSessions(jid, newDevices, XmppAxolotlSession.Trust.INACTIVE_UNTRUSTED,
|
||||||
XmppAxolotlSession.Trust.UNTRUSTED);
|
XmppAxolotlSession.Trust.UNTRUSTED);
|
||||||
this.deviceIds.put(jid, deviceIds);
|
this.deviceIds.put(jid, deviceIds);
|
||||||
findDevicesWithoutSession(jid);
|
|
||||||
mXmppConnectionService.keyStatusUpdated(null);
|
mXmppConnectionService.keyStatusUpdated(null);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1088,8 +1088,8 @@ public class XmppConnectionService extends Service implements OnPhoneContactsLoa
|
|||||||
public void run() {
|
public void run() {
|
||||||
Log.d(Config.LOGTAG, "restoring roster");
|
Log.d(Config.LOGTAG, "restoring roster");
|
||||||
for (Account account : accounts) {
|
for (Account account : accounts) {
|
||||||
account.initAccountServices(XmppConnectionService.this);
|
|
||||||
databaseBackend.readRoster(account.getRoster());
|
databaseBackend.readRoster(account.getRoster());
|
||||||
|
account.initAccountServices(XmppConnectionService.this); //roster needs to be loaded at this stage
|
||||||
}
|
}
|
||||||
getBitmapCache().evictAll();
|
getBitmapCache().evictAll();
|
||||||
Looper.prepare();
|
Looper.prepare();
|
||||||
|
Loading…
Reference in New Issue
Block a user