diff options
author | Tulir Asokan <tulir@maunium.net> | 2018-03-17 01:27:30 +0200 |
---|---|---|
committer | Tulir Asokan <tulir@maunium.net> | 2018-03-17 01:27:30 +0200 |
commit | 85fd5f8d55e2ece0602c89159cac5665e21373e5 (patch) | |
tree | 65436fac24b47affbe1897169bc0945899504a46 /matrix.go | |
parent | 7be1d708d32e070cfc4fa9dcc4a46dd7fd091d5e (diff) |
Fix bugs and add MessageView widget
Diffstat (limited to 'matrix.go')
-rw-r--r-- | matrix.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) { |