From 96bb87e8ac8f45d56d487ea6c16d67f057d97e1f Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Thu, 23 Apr 2020 17:56:09 +0300 Subject: [PATCH] Add missing pointer --- ui/room-view.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,