pub async fn handle_upload_result( from: &Jid, iqid: String, elem: Element, agent: &mut Agent, ) -> impl IntoIterator<Item = Event>