forked from cadence/out-of-your-element
see how this different reactions format goes...
This commit is contained in:
parent
0fc8e68f15
commit
3f187e8107
3 changed files with 6 additions and 7 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue