Skip to main content

fingerprints_cover

Function fingerprints_cover 

Source
fn fingerprints_cover(
    fingerprints: &[u64],
    event_type: &StateEventType,
    state_key: &str,
    sender_user: &UserId,
) -> bool
Expand description

Whether a set of key fingerprints covers one state key.

A fingerprint covers its own key, every key of its type when it is a wildcard, and the syncing user’s key when it is $ME.