pub fn validate_newcomer_restrictions(
old: Permissions,
new: Permissions,
) -> Result<(), Invalid>Expand description
Validates a new newcomer_restrictions mask: no VIEW_CHANNEL or
READ_MESSAGE_HISTORY, no newly set unknown bit.
pub fn validate_newcomer_restrictions(
old: Permissions,
new: Permissions,
) -> Result<(), Invalid>Validates a new newcomer_restrictions mask: no VIEW_CHANNEL or
READ_MESSAGE_HISTORY, no newly set unknown bit.