aboutsummaryrefslogtreecommitdiff
path: root/ui/messages/parser
diff options
context:
space:
mode:
authorTulir Asokan <tulir@maunium.net>2018-04-30 23:09:14 +0300
committerTulir Asokan <tulir@maunium.net>2018-04-30 23:09:14 +0300
commitc600ce68a2684fdeebfbe9580c6ff833257450ed (patch)
treeedc841c9015a8128b241ab0e55a06026b46f09e9 /ui/messages/parser
parent9ad3a95ba6cf1375745186d14e17b365205dc587 (diff)
Fix room list updating when joining/leaving
Diffstat (limited to 'ui/messages/parser')
-rw-r--r--ui/messages/parser/parser.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/messages/parser/parser.go b/ui/messages/parser/parser.go
index eef91a2..090732d 100644
--- a/ui/messages/parser/parser.go
+++ b/ui/messages/parser/parser.go
@@ -137,5 +137,5 @@ func ParseMembershipEvent(room *rooms.Room, evt *gomatrix.Event) messages.UIMess
}
ts := unixToTime(evt.Timestamp)
- return messages.NewExpandedTextMessage(evt.ID, evt.Sender, displayname, "m.room.membership", text, ts)
+ return messages.NewExpandedTextMessage(evt.ID, evt.Sender, displayname, "m.room.member", text, ts)
}