From 60777ad8ce97997493bcaf3eddd3c9c447756cb3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Wed, 19 Apr 2017 22:07:34 +0200 Subject: [PATCH] GH-1856 always pull new versions of metadata when requested The only block is if it's already happening. --- api/logic/meta/BaseEntity.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/api/logic/meta/BaseEntity.h b/api/logic/meta/BaseEntity.h index 85051d97..85c25e48 100644 --- a/api/logic/meta/BaseEntity.h +++ b/api/logic/meta/BaseEntity.h @@ -57,7 +57,8 @@ public: } bool shouldStartRemoteUpdate() const { - return m_updateStatus == UpdateStatus::NotDone; + // TODO: version-locks and offline mode? + return m_updateStatus != UpdateStatus::InProgress; } void load();