view mod_auto_answer_disco_info/README.markdown @ 4841:f69c5a443156

mod_rest: Fix nested message stanzas in XEP-0297 containers It's all a bit awkward because it doesn't normally use the whole schema directly, but rather checks which stanza type is used and picks out that property as a schema. Which also prevents references from working.
author Kim Alvefur <zash@zash.se>
date Wed, 29 Dec 2021 19:40:28 +0100
parents 908ed8f736bd
children
line wrap: on
line source

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

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.