[network/ruqola] src/rocketchatrestapi-qt/e2e: Fix typo

Laurent Montel <[email protected]> Wed, 5 Aug 2026 12:01:26 +0000 (UTC)
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit ebaac48e85cd09685350ba754f34dac46e8c629d by Laurent Montel.
Committed on 05/08/2026 at 11:15.
Pushed by mlaurent into branch 'master'.

Fix typo

M  +3    -2    src/rocketchatrestapi-qt/e2e/setroomkeyidjob.cpp
M  +4    -2    src/rocketchatrestapi-qt/e2e/setroomkeyidjob.h

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

diff --git a/src/rocketchatrestapi-qt/e2e/setroomkeyidjob.cpp b/src/rocketchatrestapi-qt/e2e/setroomkeyidjob.cpp
index 86227b13a2..8d0116d4ef 100644
--- a/src/rocketchatrestapi-qt/e2e/setroomkeyidjob.cpp
+++ b/src/rocketchatrestapi-qt/e2e/setroomkeyidjob.cpp
@@ -37,10 +37,10 @@ bool SetRoomKeyIDJob::start()
 void SetRoomKeyIDJob::onPostRequestResponse(const QString &replyErrorString, const QJsonDocument &replyJson)
 {
     const QJsonObject replyObject = replyJson.object();
-
+    qDebug() << " replyObject " << replyObject;
     if (replyObject["success"_L1].toBool()) {
         addLoggerInfo("SetRoomKeyIDJob: success: "_ba + replyJson.toJson(QJsonDocument::Indented));
-        Q_EMIT setUserPublicAndPrivateKeysDone();
+        Q_EMIT setRoomKeyIdDone();
     } else {
         emitFailedMessage(replyErrorString, replyObject);
         addLoggerWarning("SetRoomKeyIDJob: Problem: "_ba + replyJson.toJson(QJsonDocument::Indented));
@@ -89,6 +89,7 @@ QJsonDocument SetRoomKeyIDJob::json() const
     jsonObj["rid"_L1] = QString::fromLatin1(mSetRoomKeyIDInfo.roomId);
     jsonObj["keyID"_L1] = QString::fromLatin1(mSetRoomKeyIDInfo.keyId);
 
+    qDebug() << " SetRoomKeyIDJob::json " << jsonObj;
     const QJsonDocument postData = QJsonDocument(jsonObj);
     return postData;
 }
diff --git a/src/rocketchatrestapi-qt/e2e/setroomkeyidjob.h b/src/rocketchatrestapi-qt/e2e/setroomkeyidjob.h
index 38f8a4f0c5..b440fd4a4a 100644
--- a/src/rocketchatrestapi-qt/e2e/setroomkeyidjob.h
+++ b/src/rocketchatrestapi-qt/e2e/setroomkeyidjob.h
@@ -35,10 +35,12 @@ public:
     void setRoomKeyIDInfo(const RoomKeyIDInfo &newSetRoomKeyIDInfo);
 
 Q_SIGNALS:
-    void setUserPublicAndPrivateKeysDone();
+    void setRoomKeyIdDone();
+
+protected:
+    void onPostRequestResponse(const QString &replyErrorString, const QJsonDocument &replyJson) override;
 
 private:
-    LIBROCKETCHATRESTAPI_QT_NO_EXPORT void onPostRequestResponse(const QString &replyErrorString, const QJsonDocument &replyJson) override;
     RoomKeyIDInfo mSetRoomKeyIDInfo;
 };
 }