Mercurial > prosody-modules
view mod_auto_answer_disco_info/README.markdown @ 2976:df86ce6bb0b4
Implement dummy body message to indicate high priority push
This adds a dummy body sent alongside the push when the original message
also contained a body to indicate a high priority push.
The body can be configured and its contents are generally meaningless
with most app servers because it will be stripped before pushed to the client.
author | tmolitor <thilo@eightysoft.de> |
---|---|
date | Sun, 01 Apr 2018 23:24:33 +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.