From 19db552f7d44d41ae029efcfaaef218070dbc920 Mon Sep 17 00:00:00 2001 From: Camila Ayres Date: Thu, 31 Oct 2024 13:01:16 +0100 Subject: [PATCH] Remove check in setServerHasValidSubscription. Signed-off-by: Camila Ayres --- src/libsync/account.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/libsync/account.cpp b/src/libsync/account.cpp index 9394e672cced1..df4030de8c64d 100644 --- a/src/libsync/account.cpp +++ b/src/libsync/account.cpp @@ -1083,9 +1083,7 @@ bool Account::serverHasValidSubscription() const void Account::setServerHasValidSubscription(bool valid) { - if (_serverHasValidSubscription != valid) { - _serverHasValidSubscription = valid; - } + _serverHasValidSubscription = valid; } void Account::updateServerSubcription()