[network/ruqola] src/core/localdatabase: Remove pending info too

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

Remove pending info too

M  +1    -0    src/core/localdatabase/localdatabasemanager.cpp

https://invent.kde.org/network/ruqola/-/commit/b19fd0dc571d0f7af232fee17839fc0921fdb349

diff --git a/src/core/localdatabase/localdatabasemanager.cpp b/src/core/localdatabase/localdatabasemanager.cpp
index 2dffe8f03f..5255db7e92 100644
--- a/src/core/localdatabase/localdatabasemanager.cpp
+++ b/src/core/localdatabase/localdatabasemanager.cpp
@@ -176,6 +176,7 @@ void LocalDatabaseManager::deleteRoom(const QString &accountName, const QByteArr
         mMessagesDatabase->deleteDatabaseFromRoomId(accountName, roomId);
         mGlobalDatabase->removeTimeStamp(accountName, roomId, GlobalDatabase::TimeStampType::RoomTimeStamp);
         mGlobalDatabase->removeTimeStamp(accountName, roomId, GlobalDatabase::TimeStampType::MessageTimeStamp);
+        mRoomPendingTypedInfoDatabase->deleteRoomPendingTypedInfo(accountName, roomId);
         // TODO remove rooms from mE2ERoomsDataBase
     }
 }
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.