aboutsummaryrefslogtreecommitdiff
path: root/connection.h
diff options
context:
space:
mode:
Diffstat (limited to 'connection.h')
-rw-r--r--connection.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/connection.h b/connection.h
index 08184d0d..f0b097fd 100644
--- a/connection.h
+++ b/connection.h
@@ -26,7 +26,7 @@ namespace QMatrixClient
{
class Room;
class User;
- class Event;
+ class RoomEvent;
class ConnectionPrivate;
class ConnectionData;
@@ -61,7 +61,8 @@ namespace QMatrixClient
Q_INVOKABLE virtual void postMessage(Room* room, const QString& type,
const QString& message) const;
/** @deprecated Use callApi<PostReceiptJob>() or Room::postReceipt() instead */
- Q_INVOKABLE virtual PostReceiptJob* postReceipt( Room* room, Event* event ) const;
+ Q_INVOKABLE virtual PostReceiptJob* postReceipt(Room* room,
+ RoomEvent* 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 );