aboutsummaryrefslogtreecommitdiff
path: root/connection.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'connection.cpp')
-rw-r--r--connection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/connection.cpp b/connection.cpp
index f9e2e7ae..56628a07 100644
--- a/connection.cpp
+++ b/connection.cpp
@@ -191,7 +191,7 @@ void Connection::postMessage(Room* room, const QString& type, const QString& mes
callApi<PostMessageJob>(room->id(), type, message);
}
-PostReceiptJob* Connection::postReceipt(Room* room, Event* event) const
+PostReceiptJob* Connection::postReceipt(Room* room, RoomEvent* event) const
{
return callApi<PostReceiptJob>(room->id(), event->id());
}