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

Laurent Montel <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit a3200fa4334c8617a450de85ebc6ec64f6017225 by Laurent Montel.
Committed on 28/07/2026 at 19:11.
Pushed by mlaurent into branch 'master'.

Fix typo

M  +2    -2    src/rocketchatrestapi-qt/autotests/restapimethodtest.cpp
M  +2    -2    src/rocketchatrestapi-qt/restapiutil.cpp

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

diff --git a/src/rocketchatrestapi-qt/autotests/restapimethodtest.cpp b/src/rocketchatrestapi-qt/autotests/restapimethodtest.cpp
index 847b345268..675080bf48 100644
--- a/src/rocketchatrestapi-qt/autotests/restapimethodtest.cpp
+++ b/src/rocketchatrestapi-qt/autotests/restapimethodtest.cpp
@@ -237,10 +237,10 @@ void RestApiMethodTest::shouldGenerateUrl()
     QCOMPARE(rest.generateUrl(RestApiUtil::RestApiUrlType::E2EAcceptSuggestedGroupKey), QUrl(u"http://www.kde.org/api/v1/e2e.acceptSuggestedGroupKey"_s));
     QCOMPARE(rest.generateUrl(RestApiUtil::RestApiUrlType::E2ERejectSuggestedGroupKey), QUrl(u"http://www.kde.org/api/v1/e2e.rejectSuggestedGroupKey"_s));
     QCOMPARE(rest.generateUrl(RestApiUtil::RestApiUrlType::E2EProvideUsersWithSuggestedGroupKeys),
-             QUrl(u"http://www.kde.org/api/v1/e2e.provideUsersWithSuggestedGroupKeys"_s));
+             QUrl(u"http://www.kde.org/api/v1/e2e.provideUsersSuggestedGroupKeys"_s));
     QCOMPARE(rest.generateUrl(RestApiUtil::RestApiUrlType::E2EResetRoomKey), QUrl(u"http://www.kde.org/api/v1/e2e.resetRoomKey"_s));
     QCOMPARE(rest.generateUrl(RestApiUtil::RestApiUrlType::E2EFetchUsersWaitingForGroupKey),
-             QUrl(u"http://www.kde.org/api/v1/e2e.provideUsersSuggestedGroupKeys"_s));
+             QUrl(u"http://www.kde.org/api/v1/e2e.fetchUsersWaitingForGroupKey"_s));
 
     QCOMPARE(rest.generateUrl(RestApiUtil::RestApiUrlType::RolesList), QUrl(u"http://www.kde.org/api/v1/roles.list"_s));
     QCOMPARE(rest.generateUrl(RestApiUtil::RestApiUrlType::RolesSync), QUrl(u"http://www.kde.org/api/v1/roles.sync"_s));
diff --git a/src/rocketchatrestapi-qt/restapiutil.cpp b/src/rocketchatrestapi-qt/restapiutil.cpp
index 981b260730..08eceb524b 100644
--- a/src/rocketchatrestapi-qt/restapiutil.cpp
+++ b/src/rocketchatrestapi-qt/restapiutil.cpp
@@ -394,11 +394,11 @@ QString RestApiUtil::restUrl(RestApiUtil::RestApiUrlType type)
     case RestApiUtil::RestApiUrlType::E2ERejectSuggestedGroupKey:
         return u"e2e.rejectSuggestedGroupKey"_s;
     case RestApiUtil::RestApiUrlType::E2EProvideUsersWithSuggestedGroupKeys:
-        return u"e2e.provideUsersWithSuggestedGroupKeys"_s;
+        return u"e2e.provideUsersSuggestedGroupKeys"_s;
     case RestApiUtil::RestApiUrlType::E2EResetRoomKey:
         return u"e2e.resetRoomKey"_s;
     case RestApiUtil::RestApiUrlType::E2EFetchUsersWaitingForGroupKey:
-        return u"e2e.provideUsersSuggestedGroupKeys"_s;
+        return u"e2e.fetchUsersWaitingForGroupKey"_s;
 
     case RestApiUtil::RestApiUrlType::RolesList:
         return u"roles.list"_s;
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.