aboutsummaryrefslogtreecommitdiff
path: root/connection.h
diff options
context:
space:
mode:
Diffstat (limited to 'connection.h')
-rw-r--r--connection.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/connection.h b/connection.h
index 8fc4a6b3..7ca1ccd6 100644
--- a/connection.h
+++ b/connection.h
@@ -61,6 +61,7 @@ namespace QMatrixClient
/** @deprecated Use callApi<PostReceiptJob>() or Room::postReceipt() instead */
Q_INVOKABLE virtual PostReceiptJob* postReceipt( Room* room, Event* event ) const;
Q_INVOKABLE virtual JoinRoomJob* joinRoom(const QString& roomAlias);
+ /** @deprecated Use callApi<LeaveRoomJob>() or Room::leaveRoom() instead */
Q_INVOKABLE virtual void leaveRoom( Room* room );
Q_INVOKABLE virtual RoomMessagesJob* getMessages(Room* room,
const QString& from) const;