aboutsummaryrefslogtreecommitdiff
path: root/jobs/sendeventjob.h
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2017-07-22 17:45:43 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2017-07-22 17:45:43 +0900
commit575a459f01e27b2f9efa676e031f96b49bd319af (patch)
treef69d1ceb3abc889dc37a3977b50731d93585e221 /jobs/sendeventjob.h
parent40b65a93981233c2420e8a4eb653add8c438b446 (diff)
downloadlibquotient-575a459f01e27b2f9efa676e031f96b49bd319af.tar.gz
libquotient-575a459f01e27b2f9efa676e031f96b49bd319af.zip
SendEventJob: Fixed empty transaction id's
Diffstat (limited to 'jobs/sendeventjob.h')
-rw-r--r--jobs/sendeventjob.h4
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()))
{ }