pub fn check_member_size(max_bytes: usize, json_len: usize) -> ResultExpand description
Bounds the canonical size of a client-supplied m.room.member content, in bytes.
Every route measures the canonical form, the one the stored event carries, so the cap means the same thing wherever a member event enters.