aboutsummaryrefslogtreecommitdiff
path: root/matrix.go
diff options
context:
space:
mode:
authorTulir Asokan <tulir@maunium.net>2018-03-17 01:27:30 +0200
committerTulir Asokan <tulir@maunium.net>2018-03-17 01:27:30 +0200
commit85fd5f8d55e2ece0602c89159cac5665e21373e5 (patch)
tree65436fac24b47affbe1897169bc0945899504a46 /matrix.go
parent7be1d708d32e070cfc4fa9dcc4a46dd7fd091d5e (diff)
Fix bugs and add MessageView widget
Diffstat (limited to 'matrix.go')
-rw-r--r--matrix.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/matrix.go b/matrix.go
index 5992a60..d611bb0 100644
--- a/matrix.go
+++ b/matrix.go
@@ -160,7 +160,7 @@ func (c *MatrixContainer) HandleMessage(evt *gomatrix.Event) {
timestamp = time.Unix(timestampInt64/1000, timestampInt64%1000*1000)
}
- c.ui.MainView().AddMessage(evt.RoomID, evt.Sender, message, timestamp)
+ c.ui.MainView().AddRealMessage(evt.RoomID, evt.ID, evt.Sender, message, timestamp)
}
func (c *MatrixContainer) HandleMembership(evt *gomatrix.Event) {