view mod_auto_answer_disco_info/README.markdown @ 3814:0dede5b0ab27

mod_rest: Fix return status when sending and forgetting Turns out module:send() doesn't return anything, so there's no way to know if it was routed successfully.
author Kim Alvefur <zash@zash.se>
date Wed, 01 Jan 2020 16:35:55 +0100
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.