aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ui/room-view.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/room-view.go b/ui/room-view.go
index 334545a..5792626 100644
--- a/ui/room-view.go
+++ b/ui/room-view.go
@@ -660,7 +660,7 @@ func (view *RoomView) SendReaction(eventID id.EventID, reaction string) {
Event: &event.Event{
Type: event.EventReaction,
RoomID: view.Room.ID,
- Content: event.Content{Parsed: event.ReactionEventContent{RelatesTo: event.RelatesTo{
+ Content: event.Content{Parsed: &event.ReactionEventContent{RelatesTo: event.RelatesTo{
Type: event.RelAnnotation,
EventID: eventID,
Key: reaction,