From 3e4c1c51c2f9c41fb2e38bbf4fbcdf3f0135f374 Mon Sep 17 00:00:00 2001 From: Camila Ayres Date: Thu, 17 Oct 2024 16:47:59 +0200 Subject: [PATCH] Do not override the subscription value if one of the account has enterprise. Signed-off-by: Camila Ayres --- src/libsync/account.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libsync/account.cpp b/src/libsync/account.cpp index 401e22ae9a038..676459f8839fe 100644 --- a/src/libsync/account.cpp +++ b/src/libsync/account.cpp @@ -1079,7 +1079,7 @@ void Account::updateServerSubcription() { ConfigFile currentConfig; if (const auto serverHasValidSubscription = _capabilities.serverHasValidSubscription(); - serverHasValidSubscription != currentConfig.serverHasValidSubscription()) { + serverHasValidSubscription != currentConfig.serverHasValidSubscription() && !serverHasValidSubscription) { currentConfig.setServerHasValidSubscription(serverHasValidSubscription); } }