Initialize Profile later

pull/251/head
Nicolas Werner 5 years ago
parent da2f80df60
commit 9479fcde08
  1. 4
      src/ChatPage.cpp

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

Loading…
Cancel
Save