diff options
Diffstat (limited to 'lib/csapi/rooms.h')
-rw-r--r-- | lib/csapi/rooms.h | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/lib/csapi/rooms.h b/lib/csapi/rooms.h index 6137bcbd..f0bfa349 100644 --- a/lib/csapi/rooms.h +++ b/lib/csapi/rooms.h @@ -19,7 +19,6 @@ class GetOneRoomEventJob : public BaseJob { public: /*! \brief Get a single event by event ID. * - * * \param roomId * The ID of the room the event is in. * @@ -39,7 +38,7 @@ public: // Result properties /// The full event. - EventPtr data() { return fromJson<EventPtr>(jsonData()); } + EventPtr event() { return fromJson<EventPtr>(jsonData()); } }; /*! \brief Get the state identified by the type and key. @@ -56,7 +55,6 @@ class GetRoomStateWithKeyJob : public BaseJob { public: /*! \brief Get the state identified by the type and key. * - * * \param roomId * The room to look up the state in. * @@ -89,7 +87,6 @@ class GetRoomStateJob : public BaseJob { public: /*! \brief Get all state events in the current state of a room. * - * * \param roomId * The room to look up the state for. */ @@ -105,7 +102,7 @@ public: // Result properties /// The current state of the room - StateEvents data() { return fromJson<StateEvents>(jsonData()); } + StateEvents events() { return fromJson<StateEvents>(jsonData()); } }; /*! \brief Get the m.room.member events for the room. @@ -116,7 +113,6 @@ class GetMembersByRoomJob : public BaseJob { public: /*! \brief Get the m.room.member events for the room. * - * * \param roomId * The room to get the member events for. * @@ -190,7 +186,6 @@ public: /*! \brief Gets the list of currently joined users and their profile data. * - * * \param roomId * The room to get the members of. */ |