aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ui/messages/parser.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/messages/parser.go b/ui/messages/parser.go
index 90530c3..4e87d1f 100644
--- a/ui/messages/parser.go
+++ b/ui/messages/parser.go
@@ -277,6 +277,7 @@ func getMembershipEventContent(room *rooms.Room, evt *muksevt.Event) (sender str
prevMembership := event.MembershipLeave
prevDisplayname := *evt.StateKey
if evt.Unsigned.PrevContent != nil {
+ _ = evt.Unsigned.PrevContent.ParseRaw(evt.Type)
prevContent := evt.Unsigned.PrevContent.AsMember()
prevMembership = prevContent.Membership
prevDisplayname = prevContent.Displayname