aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2020-11-08 18:58:06 +0100
committerKitsune Ral <Kitsune-Ral@users.sf.net>2020-11-08 18:58:06 +0100
commit538e02f92bd5ccaf4f4870deb8de1a4b93b4ee0a (patch)
tree41e1bc558bb0e3b519e657cc07a865a997fbfa29 /lib
parentf4db6988bf2fd71f74ac851557d82c6f65cc89b1 (diff)
downloadlibquotient-538e02f92bd5ccaf4f4870deb8de1a4b93b4ee0a.tar.gz
libquotient-538e02f92bd5ccaf4f4870deb8de1a4b93b4ee0a.zip
Room: drop setMemberState()
Diffstat (limited to 'lib')
-rw-r--r--lib/room.cpp6
-rw-r--r--lib/room.h3
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);
diff --git a/lib/room.h b/lib/room.h
index d7b5c516..f4d7eb70 100644
--- a/lib/room.h
+++ b/lib/room.h
@@ -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);