mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-22 11:00:48 +03:00
Fix crash on logout (why did that line vanish?!?)
This commit is contained in:
parent
62b3b461ec
commit
f3ff56692e
1 changed files with 1 additions and 0 deletions
|
@ -616,6 +616,7 @@ ChatPage::handleSyncResponse(const mtx::responses::Sync &res, const std::string
|
||||||
}
|
}
|
||||||
} catch (const lmdb::error &e) {
|
} catch (const lmdb::error &e) {
|
||||||
nhlog::db()->warn("Logged out in the mean time, dropping sync");
|
nhlog::db()->warn("Logged out in the mean time, dropping sync");
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
nhlog::net()->debug("sync completed: {}", res.next_batch);
|
nhlog::net()->debug("sync completed: {}", res.next_batch);
|
||||||
|
|
Loading…
Reference in a new issue