aboutsummaryrefslogtreecommitdiff
path: root/jobs/postreceiptjob.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'jobs/postreceiptjob.cpp')
-rw-r--r--jobs/postreceiptjob.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/jobs/postreceiptjob.cpp b/jobs/postreceiptjob.cpp
index c26186e8..f99b6869 100644
--- a/jobs/postreceiptjob.cpp
+++ b/jobs/postreceiptjob.cpp
@@ -34,7 +34,7 @@ class PostReceiptJob::Private
};
PostReceiptJob::PostReceiptJob(ConnectionData* connection, QString roomId, QString eventId)
- : BaseJob(connection, JobHttpType::PostJob)
+ : BaseJob(connection, JobHttpType::PostJob, "PostReceiptJob")
, d(new Private)
{
d->roomId = roomId;
@@ -46,7 +46,7 @@ PostReceiptJob::~PostReceiptJob()
delete d;
}
-QString PostReceiptJob::apiPath()
+QString PostReceiptJob::apiPath() const
{
return QString("/_matrix/client/r0/rooms/%1/receipt/m.read/%2").arg(d->roomId).arg(d->eventId);
}