diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2022-06-12 19:39:36 +0200 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2022-06-12 19:39:36 +0200 |
commit | f3ff56692e16fdeb33a15fa8e7123a058595d9ad (patch) | |
tree | 8542b78348d090f8cff65a184e25ef07004cc8b6 | |
parent | Fix comparison for glare algorithm (diff) | |
download | nheko-f3ff56692e16fdeb33a15fa8e7123a058595d9ad.tar.xz |
Fix crash on logout (why did that line vanish?!?)
-rw-r--r-- | src/ChatPage.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ChatPage.cpp b/src/ChatPage.cpp index d4fbb801..0225ed27 100644 --- a/src/ChatPage.cpp +++ b/src/ChatPage.cpp @@ -616,6 +616,7 @@ ChatPage::handleSyncResponse(const mtx::responses::Sync &res, const std::string } } catch (const lmdb::error &e) { nhlog::db()->warn("Logged out in the mean time, dropping sync"); + return; } nhlog::net()->debug("sync completed: {}", res.next_batch); |