forked from cadence/out-of-your-element
make removing single reactions work correctly
This commit is contained in:
parent
a396e6f596
commit
6dcf3a383a
7 changed files with 67 additions and 30 deletions
|
@ -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} */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue