You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-11-26 17:03:12 +03:00
Fix spelling error in txnId for redactions
Fixes https://github.com/vector-im/riot-web/issues/9700
This commit is contained in:
@@ -904,7 +904,7 @@ MatrixBaseApis.prototype.redactEvent = function(
|
|||||||
callback = txnId;
|
callback = txnId;
|
||||||
}
|
}
|
||||||
|
|
||||||
const path = utils.encodeUri("/rooms/$roomId/redact/$eventId/$tnxId", {
|
const path = utils.encodeUri("/rooms/$roomId/redact/$eventId/$txnId", {
|
||||||
$roomId: roomId,
|
$roomId: roomId,
|
||||||
$eventId: eventId,
|
$eventId: eventId,
|
||||||
$txnId: txnId ? txnId : this.makeTxnId(),
|
$txnId: txnId ? txnId : this.makeTxnId(),
|
||||||
|
|||||||
Reference in New Issue
Block a user