1 files changed, 2 insertions, 2 deletions
diff --git a/src/ChatPage.cpp b/src/ChatPage.cpp
index 0b290927..3ef28c86 100644
--- a/src/ChatPage.cpp
+++ b/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();
});
|