Add missing pointer

This commit is contained in:
Tulir Asokan 2020-04-23 17:56:09 +03:00
parent 19fe067439
commit 96bb87e8ac

View File

@ -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,