From 575a459f01e27b2f9efa676e031f96b49bd319af Mon Sep 17 00:00:00 2001 From: Kitsune Ral Date: Sat, 22 Jul 2017 17:45:43 +0900 Subject: SendEventJob: Fixed empty transaction id's --- jobs/sendeventjob.h | 4 ++-- 1 file 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())) { } -- cgit v1.2.3