diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2020-11-08 18:58:06 +0100 |
---|---|---|
committer | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2020-11-08 18:58:06 +0100 |
commit | 538e02f92bd5ccaf4f4870deb8de1a4b93b4ee0a (patch) | |
tree | 41e1bc558bb0e3b519e657cc07a865a997fbfa29 | |
parent | f4db6988bf2fd71f74ac851557d82c6f65cc89b1 (diff) | |
download | libquotient-538e02f92bd5ccaf4f4870deb8de1a4b93b4ee0a.tar.gz libquotient-538e02f92bd5ccaf4f4870deb8de1a4b93b4ee0a.zip |
Room: drop setMemberState()
-rw-r--r-- | lib/room.cpp | 6 | ||||
-rw-r--r-- | lib/room.h | 3 |
2 files changed, 0 insertions, 9 deletions
diff --git a/lib/room.cpp b/lib/room.cpp index b564369c..e98116a9 100644 --- a/lib/room.cpp +++ b/lib/room.cpp @@ -1910,12 +1910,6 @@ LeaveRoomJob* Room::leaveRoom() return connection()->leaveRoom(this); } -SetRoomStateWithKeyJob* Room::setMemberState(const QString& memberId, - const RoomMemberEvent& event) const -{ - return d->requestSetState<RoomMemberEvent>(memberId, event.content()); -} - void Room::kickMember(const QString& memberId, const QString& reason) { connection()->callApi<KickJob>(id(), memberId, reason); @@ -586,9 +586,6 @@ public slots: void inviteToRoom(const QString& memberId); LeaveRoomJob* leaveRoom(); - /// \deprecated - use setState() instead") - SetRoomStateWithKeyJob* setMemberState(const QString& memberId, - const RoomMemberEvent& event) const; void kickMember(const QString& memberId, const QString& reason = {}); void ban(const QString& userId, const QString& reason = {}); void unban(const QString& userId); |