mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-22 19:08:58 +03:00
Initialize Profile later
This commit is contained in:
parent
da2f80df60
commit
9479fcde08
1 changed files with 2 additions and 2 deletions
|
@ -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…
Reference in a new issue