see how this different reactions format goes...

This commit is contained in:
Cadence Ember 2023-08-19 18:40:01 +12:00
parent 0fc8e68f15
commit 3f187e8107
3 changed files with 6 additions and 7 deletions

View file

@ -22,7 +22,7 @@ async function addReaction(data) {
assert.equal(typeof parentID, "string")
const roomID = await createRoom.ensureRoom(data.channel_id)
const senderMxid = await registerUser.ensureSimJoined(user, roomID)
const eventID = api.sendEvent(roomID, "m.reaction", {
const eventID = await api.sendEvent(roomID, "m.reaction", {
"m.relates_to": {
rel_type: "m.annotation",
event_id: parentID,