Initialize Profile later

This commit is contained in:
Nicolas Werner 2020-07-11 02:15:53 +02:00
parent da2f80df60
commit 9479fcde08
1 changed files with 2 additions and 2 deletions

View File

@ -795,8 +795,6 @@ ChatPage::loadStateFromCache()
nhlog::db()->info("restoring state from cache"); nhlog::db()->info("restoring state from cache");
getProfileInfo();
QtConcurrent::run([this]() { QtConcurrent::run([this]() {
try { try {
cache::restoreSessions(); cache::restoreSessions();
@ -829,6 +827,8 @@ ChatPage::loadStateFromCache()
nhlog::crypto()->info("ed25519 : {}", olm::client()->identity_keys().ed25519); nhlog::crypto()->info("ed25519 : {}", olm::client()->identity_keys().ed25519);
nhlog::crypto()->info("curve25519: {}", olm::client()->identity_keys().curve25519); nhlog::crypto()->info("curve25519: {}", olm::client()->identity_keys().curve25519);
getProfileInfo();
// Start receiving events. // Start receiving events.
emit trySyncCb(); emit trySyncCb();
}); });