aboutsummaryrefslogtreecommitdiff
path: root/room.h
diff options
context:
space:
mode:
Diffstat (limited to 'room.h')
-rw-r--r--room.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/room.h b/room.h
index 00d4c333..2d0453bc 100644
--- a/room.h
+++ b/room.h
@@ -36,6 +36,7 @@ namespace QMatrixClient
class Connection;
class User;
class MemberSorter;
+ class LeaveRoomJob;
class TimelineItem
{
@@ -158,7 +159,7 @@ namespace QMatrixClient
void getPreviousContent(int limit = 10);
void inviteToRoom(const QString& memberId);
- void leaveRoom();
+ LeaveRoomJob* leaveRoom();
void kickMember(const QString& memberId, const QString& reason = {});
void ban(const QString& userId, const QString& reason = {});
void unban(const QString& userId);