async fn collect_local_user_keys<F>( services: &Services, user_id: &UserId, device_ids: &[OwnedDeviceId], sender_user: Option<&UserId>, allowed_signatures: &F, include_display_names: bool, ) -> Keyswhere F: Fn(&UserId) -> bool + Send + Sync,