Mercurial > prosody-modules
view mod_auto_answer_disco_info/README.markdown @ 3922:ea59c9455f93
mod_rest: Move dataforms into structure for more logical code order
Needs that `local x; x = ...` trick to make the mapping table be in
scope for all the inner functions.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 28 Feb 2020 22:24:49 +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.