Remove call to wantsAccountSaved when clearing the cookies.
authorCamila Ayres <hello@camilasan.com>
Mon, 28 Oct 2024 17:37:15 +0000 (18:37 +0100)
committerCamila Ayres <hello@camilasan.com>
Tue, 29 Oct 2024 11:40:24 +0000 (12:40 +0100)
The cookies are cleared when an account is removed, this call was
bringing back the deleted account.

Signed-off-by: Camila Ayres <hello@camilasan.com>
src/libsync/account.cpp

index 401e22ae9a0387b3d5d549feb75f6bdc59ca3797..16a5263c2cc1e043e62e7bd829fae5b1152f9dc8 100644 (file)
@@ -361,7 +361,6 @@ void Account::clearCookieJar()
     auto jar = qobject_cast<CookieJar *>(_am->cookieJar());
     ASSERT(jar);
     jar->setAllCookies(QList<QNetworkCookie>());
-    emit wantsAccountSaved(this);
 }
 
 /*! This shares our official cookie jar (containing all the tasty