diff options
Diffstat (limited to 'connection.cpp')
-rw-r--r-- | connection.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/connection.cpp b/connection.cpp index 8d5ff2fa..0c73e22d 100644 --- a/connection.cpp +++ b/connection.cpp @@ -208,7 +208,7 @@ JoinRoomJob* Connection::joinRoom(const QString& roomAlias) void Connection::leaveRoom(Room* room) { - callApi<LeaveRoomJob>(room); + callApi<LeaveRoomJob>(room->id()); } RoomMessagesJob* Connection::getMessages(Room* room, const QString& from) const |