diff options
Diffstat (limited to 'jobs/sendeventjob.h')
-rw-r--r-- | jobs/sendeventjob.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/jobs/sendeventjob.h b/jobs/sendeventjob.h index 180fdd19..42948cc2 100644 --- a/jobs/sendeventjob.h +++ b/jobs/sendeventjob.h @@ -33,8 +33,8 @@ namespace QMatrixClient const EvT* event) : BaseJob(connection, HttpVerb::Put, "SendEventJob", QStringLiteral("_matrix/client/r0/rooms/%1/send/%2/%3") - .arg(roomId).arg(EvT::TypeId) - .arg(event->transactionId()), + .arg(roomId, EvT::TypeId, + connection->generateTxnId()), Query(), Data(event->toJson())) { } |