summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2022-06-12 19:39:36 +0200
committerNicolas Werner <nicolas.werner@hotmail.de>2022-06-12 19:39:36 +0200
commitf3ff56692e16fdeb33a15fa8e7123a058595d9ad (patch)
tree8542b78348d090f8cff65a184e25ef07004cc8b6 /src
parentFix comparison for glare algorithm (diff)
downloadnheko-f3ff56692e16fdeb33a15fa8e7123a058595d9ad.tar.xz
Fix crash on logout (why did that line vanish?!?)
Diffstat (limited to 'src')
-rw-r--r--src/ChatPage.cpp1
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);