async fn verify_signatures( context: &Context<'_>, event: &CanonicalJsonObject, room_version: &RoomVersionId, ) -> Result