Skip to content

Commit

Permalink
Remove check in setServerHasValidSubscription.
Browse files Browse the repository at this point in the history
Signed-off-by: Camila Ayres <[email protected]>
  • Loading branch information
camilasan committed Oct 31, 2024
1 parent 60e04bd commit 19db552
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/libsync/account.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1083,9 +1083,7 @@ bool Account::serverHasValidSubscription() const

void Account::setServerHasValidSubscription(bool valid)
{
if (_serverHasValidSubscription != valid) {
_serverHasValidSubscription = valid;
}
_serverHasValidSubscription = valid;
}

void Account::updateServerSubcription()
Expand Down

0 comments on commit 19db552

Please sign in to comment.