From 09438b440eac870abc2997a74fd39ea51bc2f9e8 Mon Sep 17 00:00:00 2001 From: Travis Ralston Date: Mon, 13 May 2019 13:43:44 -0600 Subject: [PATCH] Fix spelling error in txnId for redactions Fixes https://github.com/vector-im/riot-web/issues/9700 --- src/base-apis.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/base-apis.js b/src/base-apis.js index 6750e7823..a799ffa85 100644 --- a/src/base-apis.js +++ b/src/base-apis.js @@ -904,7 +904,7 @@ MatrixBaseApis.prototype.redactEvent = function( callback = txnId; } - const path = utils.encodeUri("/rooms/$roomId/redact/$eventId/$tnxId", { + const path = utils.encodeUri("/rooms/$roomId/redact/$eventId/$txnId", { $roomId: roomId, $eventId: eventId, $txnId: txnId ? txnId : this.makeTxnId(),