Fix self verification status never updating
This commit is contained in:
parent
7de24a4271
commit
809be93e20
2 changed files with 3 additions and 1 deletions
|
|
@ -258,7 +258,8 @@ SelfVerificationStatus::invalidate()
|
|||
using namespace mtx::secret_storage;
|
||||
|
||||
nhlog::db()->info("Invalidating self verification status");
|
||||
if (cache::isInitialized()) {
|
||||
if (!cache::isInitialized()) {
|
||||
nhlog::db()->warn("SelfVerificationStatus: cache not initialized");
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue