async fn build_empty_response( services: &Services, sender_user: &UserId, sender_device: Option<&DeviceId>, next_batch: u64, ) -> Response