Skip to content

Commit

Permalink
Do not override the subscription value if one of the account has ente…
Browse files Browse the repository at this point in the history
…rprise.

Signed-off-by: Camila Ayres <[email protected]>
  • Loading branch information
camilasan committed Oct 31, 2024
1 parent 17e4249 commit b800d3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libsync/account.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1080,7 +1080,7 @@ void Account::updateServerSubcription()
{
ConfigFile currentConfig;
if (const auto serverHasValidSubscription = _capabilities.serverHasValidSubscription();
serverHasValidSubscription != currentConfig.serverHasValidSubscription()) {
serverHasValidSubscription != currentConfig.serverHasValidSubscription() && !serverHasValidSubscription) {
currentConfig.setServerHasValidSubscription(serverHasValidSubscription);
}
}
Expand Down

0 comments on commit b800d3a

Please sign in to comment.