[network/ruqola] src/core: Remove localE2ERoomsDatabasePath files too

Laurent Montel <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit 01199f8cc8e79c2e810891f59ef23237ce1ef6b0 by Laurent Montel.
Committed on 16/08/2026 at 13:13.
Pushed by mlaurent into branch 'master'.

Remove localE2ERoomsDatabasePath files too

M  +4    -0    src/core/accountmanager.cpp

https://invent.kde.org/network/ruqola/-/commit/01199f8cc8e79c2e810891f59ef23237ce1ef6b0

diff --git a/src/core/accountmanager.cpp b/src/core/accountmanager.cpp
index 7d666440af..16271da5fd 100644
--- a/src/core/accountmanager.cpp
+++ b/src/core/accountmanager.cpp
@@ -511,6 +511,10 @@ void AccountManager::removeDatabaseAccount(const QString &accountName)
         const QString directory = LocalDatabaseUtils::localRoomSubscriptionsDatabasePath() + accountName;
         removeDirectory(directory);
     }
+    {
+        const QString directory = LocalDatabaseUtils::localE2ERoomsDatabasePath() + accountName;
+        removeDirectory(directory);
+    }
 }
 
 void AccountManager::removeDirectory(const QString &directory)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.