Fix crash on logout (why did that line vanish?!?)
This commit is contained in:
parent
62b3b461ec
commit
f3ff56692e
@ -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 New Issue
Block a user