From 8d4d9c6e8d84f24e1b82f9b8870776466bd5cd4c Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Thu, 3 Jun 2021 19:57:48 +0200 Subject: [PATCH] WIP --- src/domain/session/room/timeline/tiles/BaseMessageTile.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/domain/session/room/timeline/tiles/BaseMessageTile.js b/src/domain/session/room/timeline/tiles/BaseMessageTile.js index 5cfd6239..7742a7c5 100644 --- a/src/domain/session/room/timeline/tiles/BaseMessageTile.js +++ b/src/domain/session/room/timeline/tiles/BaseMessageTile.js @@ -122,6 +122,11 @@ export class BaseMessageTile extends SimpleTile { return this._reactions; } + get canReact() { + // TODO + return true; + } + react(key) { return this._room.sendEvent("m.reaction", this._entry.annotate(key)); }