projects
/
nextcloud-desktop.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bf09295
)
Do not override the subscription value if one of the account has enterprise.
author
Camila Ayres
<hello@camilasan.com>
Thu, 17 Oct 2024 14:47:59 +0000
(16:47 +0200)
committer
Camila Ayres
<hello@camilasan.com>
Thu, 31 Oct 2024 12:06:03 +0000
(13:06 +0100)
Signed-off-by: Camila Ayres <hello@camilasan.com>
src/libsync/account.cpp
patch
|
blob
|
history
diff --git
a/src/libsync/account.cpp
b/src/libsync/account.cpp
index 7f9d93c938abe0d50b8a6023cb2e29c538326dcf..cb4cc5166db120a961913fe5ba8b4e5a41fab264 100644
(file)
--- a/
src/libsync/account.cpp
+++ b/
src/libsync/account.cpp
@@
-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);
}
}