view mod_auto_answer_disco_info/README.markdown @ 4212:593fd9e0a435

mod_s2s_keepalive: Fix response handler (thanks Ge0rG) So there are no 'iq-{result,error}/host' events, mod_iq only fires events for result stanzas that include the full 'id' attr. This fixes it by hooking the stanza router event.
author Kim Alvefur <zash@zash.se>
date Fri, 16 Oct 2020 13:18:11 +0200
parents 0286ccacec7c
children 908ed8f736bd
line wrap: on
line source

---
summary: Answers disco#info queries on the behalf of the recipient
---

Description
===========

This module intercepts disco#info queries and checks if we already know the
capabilities of this session, in which case we don’t transmit the iq and answer
it ourselves.