[network/ruqola] src/core: Make it private

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

Make it private

M  +5    -2    src/core/rocketchatmessage.h

https://invent.kde.org/network/ruqola/-/commit/46f6ff008c84c6ff74404f64693789afbfc31a3f

diff --git a/src/core/rocketchatmessage.h b/src/core/rocketchatmessage.h
index 7415a00a6f..4cb94e7397 100644
--- a/src/core/rocketchatmessage.h
+++ b/src/core/rocketchatmessage.h
@@ -34,8 +34,6 @@ public:
     [[nodiscard]] RocketChatMessage::RocketChatMessageResult blockUser(const QString &rid, const QString &userId, quint64 id);
     [[nodiscard]] RocketChatMessage::RocketChatMessageResult unblockUser(const QString &rid, const QString &userId, quint64 id);
 
-    [[nodiscard]] RocketChatMessage::RocketChatMessageResult
-    searchRoomUsers(const QByteArray &roomId, const QString &pattern, const QString &exceptions, bool searchUser, bool searchRoom, quint64 id);
     [[nodiscard]] RocketChatMessage::RocketChatMessageResult
     inputChannelAutocomplete(const QByteArray &roomId, const QString &pattern, const QString &exceptions, quint64 id);
     [[nodiscard]] RocketChatMessage::RocketChatMessageResult
@@ -82,10 +80,15 @@ public:
     [[nodiscard]] RocketChatMessage::RocketChatMessageResult getRoomByTypeAndName(const QByteArray &roomId, const QString &roomType, quint64 id);
 
 private:
+    [[nodiscard]] RocketChatMessage::RocketChatMessageResult
+    searchRoomUsers(const QByteArray &roomId, const QString &pattern, const QString &exceptions, bool searchUser, bool searchRoom, quint64 id);
+
     [[nodiscard]] LIBRUQOLACORE_NO_EXPORT RocketChatMessage::RocketChatMessageResult
     generateVideoConferenceAction(const QString &action, const QString &roomId, const QString &callId, const QString &userId, quint64 id);
 
     QJsonDocument::JsonFormat mJsonFormat = QJsonDocument::Compact;
+
+    friend class RocketChatMessageTest;
 };
 class QDebug;
 LIBRUQOLACORE_EXPORT QDebug operator<<(QDebug d, const RocketChatMessage::RocketChatMessageResult &t);
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.