aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);