aboutsummaryrefslogtreecommitdiff
path: root/lib/jobs/sendeventjob.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/jobs/sendeventjob.h')
-rw-r--r--lib/jobs/sendeventjob.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/jobs/sendeventjob.h b/lib/jobs/sendeventjob.h
index 3a11eb6a..a3e9a291 100644
--- a/lib/jobs/sendeventjob.h
+++ b/lib/jobs/sendeventjob.h
@@ -32,7 +32,7 @@ namespace QMatrixClient
SendEventJob(const QString& roomId, const EvT& event)
: BaseJob(HttpVerb::Put, QStringLiteral("SendEventJob"),
QStringLiteral("_matrix/client/r0/rooms/%1/send/%2/")
- .arg(roomId, EvT::TypeId), // See also beforeStart()
+ .arg(roomId, EvT::typeId()), // See also beforeStart()
Query(),
Data(event.toJson()))
{ }