Skip to main content

get_keys_helper

Function get_keys_helper 

Source
pub async fn get_keys_helper<F>(
    services: &Services,
    sender_user: Option<&UserId>,
    device_keys_input: &BTreeMap<OwnedUserId, Vec<OwnedDeviceId>>,
    allowed_signatures: F,
    include_display_names: bool,
) -> Result<Response>
where F: Fn(&UserId) -> bool + Send + Sync,
Expand description

Queries device and cross-signing keys for the requested users.

The signature predicate filters returned signatures, and the display-name switch selects configured device names rather than device IDs.