diff options
author | Tulir Asokan <tulir@maunium.net> | 2020-02-20 21:56:03 +0200 |
---|---|---|
committer | Tulir Asokan <tulir@maunium.net> | 2020-02-20 21:56:03 +0200 |
commit | db1424a06d2274f0321991660312445829df13c9 (patch) | |
tree | 47da36262279c77c05d3158a02b5b7cbf6cc1777 /ui/messages/parser.go | |
parent | db7d2da50cd0f4c20bc0966bff7c388c017e182f (diff) |
Add support for displaying reactions
Diffstat (limited to 'ui/messages/parser.go')
-rw-r--r-- | ui/messages/parser.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/messages/parser.go b/ui/messages/parser.go index 53d30e3..c242f47 100644 --- a/ui/messages/parser.go +++ b/ui/messages/parser.go @@ -54,6 +54,7 @@ func ParseEvent(matrix ifc.MatrixContainer, mainView ifc.MainView, room *rooms.R } else if replyToEvt, _ := matrix.GetEvent(room, evt.Content.GetReplyTo()); replyToEvt != nil { if replyToMsg := directParseEvent(matrix, room, replyToEvt); replyToMsg != nil { msg.ReplyTo = replyToMsg + msg.ReplyTo.Reactions = nil } else { // TODO add unrenderable reply header } |