Mercurial > prosody-modules
view mod_auto_answer_disco_info/README.markdown @ 3097:c7f4e3987ed0
mod_slack_webhooks: Fix error handling for JSON parsing
util.json follows the return nil,errmsg pattern, it does not throw hard
error as this code seemed to expect
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 03 Jun 2018 01:34:23 +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.