mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-23 03:18:49 +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");
|
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();
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue