Function ruma::state_res::event_auth::check_membership [−][src]
pub fn check_membership<E>(
member_event: Option<Arc<E>>,
state: MembershipState
) -> bool where
E: Event,
This is supported on crate feature
state-res
only.Expand description
Check that the member event matches state
.
This function returns false instead of failing when deserialization fails.