aboutsummaryrefslogtreecommitdiff
path: root/ui/messages
diff options
context:
space:
mode:
authorTulir Asokan <tulir@maunium.net>2020-03-01 00:33:37 +0200
committerTulir Asokan <tulir@maunium.net>2020-03-01 00:33:37 +0200
commit9d132d328bbf3cdcb66d34538583a96268b6dd09 (patch)
treee13d1da87abaa3fc6c9a5e1b5056897c9b659b46 /ui/messages
parent699d0ea4e0f5a2d48a5e41c647cbbfa793983b48 (diff)
Add support for replying and reacting to messages
Diffstat (limited to 'ui/messages')
-rw-r--r--ui/messages/parser.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/ui/messages/parser.go b/ui/messages/parser.go
index e4bbc30..75c564e 100644
--- a/ui/messages/parser.go
+++ b/ui/messages/parser.go
@@ -129,7 +129,6 @@ func ParseMessage(matrix ifc.MatrixContainer, room *rooms.Room, evt *event.Event
evt.Content.RemoveReplyFallback()
}
if len(evt.Gomuks.Edits) > 0 {
- evt = evt.SomewhatDangerousCopy()
evt.Content = *evt.Gomuks.Edits[len(evt.Gomuks.Edits)-1].Content.NewContent
}
switch evt.Content.MsgType {