Skip to main content

clean_signatures

Function clean_signatures 

Source
fn clean_signatures<F>(
    cross_signing_key: Value,
    sender_user: Option<&UserId>,
    user_id: &UserId,
    allowed_signatures: &F,
) -> Result<Value>
where F: Fn(&UserId) -> bool + Send + Sync,
Expand description

Ensure that a user only sees signatures from themselves and the target user