mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-25 22:46:04 +03:00
notify user once when terms of service need to be signed
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
This commit is contained in:
parent
51352353e4
commit
0b0b80b70f
1 changed files with 1 additions and 1 deletions
|
@ -362,7 +362,7 @@ void AccountState::slotConnectionValidatorResult(ConnectionValidator::Status sta
|
|||
_lastConnectionValidatorStatus = status;
|
||||
|
||||
if ((_lastConnectionValidatorStatus == ConnectionValidator::NeedToSignTermsOfService && status == ConnectionValidator::Connected) ||
|
||||
status == ConnectionValidator::NeedToSignTermsOfService) {
|
||||
(status == ConnectionValidator::NeedToSignTermsOfService && _lastConnectionValidatorStatus != status)) {
|
||||
|
||||
emit termsOfServiceChanged(_account);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue