aboutsummaryrefslogtreecommitdiff
path: root/room.h
diff options
context:
space:
mode:
Diffstat (limited to 'room.h')
-rw-r--r--room.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/room.h b/room.h
index 455ef6cc..d62d160f 100644
--- a/room.h
+++ b/room.h
@@ -159,7 +159,10 @@ namespace QMatrixClient
void inviteToRoom(const QString& memberId) const;
void leaveRoom() const;
- void kickMember(const QString& memberId, const QString& reason) const;
+ void kickMember(const QString& memberId,
+ const QString& reason = {}) const;
+ void ban(const QString& userId, const QString& reason = {}) const;
+ void unban(const QString& userId) const;
void userRenamed(User* user, QString oldName);