logo
pub type StrippedRoomMemberEvent = StrippedStateEvent<RoomMemberEventContent>;
Available on crate feature events only.
Expand description

An m.room.member event from an invited room preview.

Implementations

Obtain the details about this event that are required to calculate a membership change.

This is required when you want to calculate the change a redacted m.room.member event made.

Helper function for membership change.

Since stripped events don’t have unsigned.prev_content, you have to pass the .details() of the previous m.room.member event manually (if there is a previous m.room.member event).

Check the specification for details.