make removing single reactions work correctly

This commit is contained in:
Cadence Ember
2023-09-25 22:20:23 +13:00
parent a396e6f596
commit 6dcf3a383a
7 changed files with 67 additions and 30 deletions

View File

@@ -155,7 +155,10 @@ async function sendEvent(roomID, type, content, mxid, timestamp) {
}
/**
* @returns {Promise<string>} room ID
* @param {string} roomID
* @param {string} eventID
* @param {string?} [mxid]
* @returns {Promise<string>} event ID
*/
async function redactEvent(roomID, eventID, mxid) {
/** @type {Ty.R.EventRedacted} */