aboutsummaryrefslogtreecommitdiff
path: root/ui/view-main.go
diff options
context:
space:
mode:
authorTulir Asokan <tulir@maunium.net>2019-06-17 13:46:02 +0300
committerTulir Asokan <tulir@maunium.net>2019-06-17 13:46:02 +0300
commitb76c301145c543ebcdc5534d4f292b056aa51219 (patch)
tree569b66f60ee40f85c8ebc090c9162348a3b15567 /ui/view-main.go
parentfe439f076ad3d76c459c9a76c4bbdcda5182ed85 (diff)
Add initial support for rendering replies
Diffstat (limited to 'ui/view-main.go')
-rw-r--r--ui/view-main.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/ui/view-main.go b/ui/view-main.go
index 5357d24..67dbb4b 100644
--- a/ui/view-main.go
+++ b/ui/view-main.go
@@ -453,9 +453,7 @@ func (view *MainView) LoadHistory(roomID string) {
return
}
for _, evt := range history {
- if message := roomView.ParseEvent(evt); message != nil {
- msgView.AddMessage(message, PrependMessage)
- }
+ roomView.AddHistoryEvent(evt)
}
view.parent.Render()
}