Skip to content

Commit

Permalink
Always send reactions unencrypted (#290)
Browse files Browse the repository at this point in the history
Clients don't support encrypted reactions.
  • Loading branch information
turt2live committed Dec 30, 2022
1 parent 8dd84e9 commit 5c7fbdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/UnstableApis.ts
Expand Up @@ -28,7 +28,7 @@ export class UnstableApis {
* @returns {Promise<string>} Resolves to the event ID of the reaction
*/
public async addReactionToEvent(roomId: string, eventId: string, emoji: string): Promise<string> {
return this.client.sendEvent(roomId, "m.reaction", {
return this.client.sendRawEvent(roomId, "m.reaction", {
"m.relates_to": {
event_id: eventId,
key: emoji,
Expand Down

0 comments on commit 5c7fbdf

Please sign in to comment.