view mod_auto_answer_disco_info/README.markdown @ 3099:c88f91626e07

mod_pastebin: Off-by-one, the hardest problem known to man The threshold set to 4 allowed 4 lines and pastebinned 5. 040eaa3844f4 unintentionally changed this so that 4 lines were pastebinned. This commit restores the previous behavior.
author Kim Alvefur <zash@zash.se>
date Sun, 03 Jun 2018 14:09:30 +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.