fn timeline_membership_changes( timeline_pdus: &[(PduCount, PduEvent)], initial: bool, ) -> Vec<(MembershipState, OwnedUserId)>