aboutsummaryrefslogtreecommitdiff
path: root/lib/room.cpp
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/room.cpp
parentf4db6988bf2fd71f74ac851557d82c6f65cc89b1 (diff)
downloadlibquotient-538e02f92bd5ccaf4f4870deb8de1a4b93b4ee0a.tar.gz
libquotient-538e02f92bd5ccaf4f4870deb8de1a4b93b4ee0a.zip
Room: drop setMemberState()
Diffstat (limited to 'lib/room.cpp')
-rw-r--r--lib/room.cpp6
1 files changed, 0 insertions, 6 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);