forked from cadence/out-of-your-element
bug fix where errors weren't being sent
This commit is contained in:
parent
6246dc3a7f
commit
e08262388b
7 changed files with 24 additions and 24 deletions
|
@ -134,7 +134,7 @@ async function sendEvent(roomID, type, content, mxid, timestamp) {
|
|||
*/
|
||||
async function redactEvent(roomID, eventID, mxid) {
|
||||
/** @type {Ty.R.EventRedacted} */
|
||||
const root = await mreq.mreq("PUT", path(`/client/v3/rooms/${roomID}/redact/${eventID}/${makeTxnId.makeTxnId()}`, mxid))
|
||||
const root = await mreq.mreq("PUT", path(`/client/v3/rooms/${roomID}/redact/${eventID}/${makeTxnId.makeTxnId()}`, mxid), {})
|
||||
return root.event_id
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue