From c600ce68a2684fdeebfbe9580c6ff833257450ed Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Mon, 30 Apr 2018 23:09:14 +0300 Subject: Fix room list updating when joining/leaving --- ui/messages/parser/parser.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ui/messages/parser') 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) } -- cgit v1.2.3