Software /
code /
prosody-modules
File
README @ 4941:e7b9bc629ecc
mod_rest: Add special handling to catch MAM results from remote hosts
Makes MAM queries to remote hosts works.
As the comment says, MAM results from users' local archives or local
MUCs are returned via origin.send() which is provided in the event and
thus already worked. Results from remote hosts go via normal stanza
routing and events, which need this extra handling to catch.
This pattern of iq-set, message+, iq-result is generally limited to MAM.
Closest similar thing might be MUC join, but to really handle that you
would need the webhook callback mechanism.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 16 May 2022 19:47:09 +0200 |
parent | 2936:4fed2379f5be |
line wrap: on
line source
prosody-modules =============== *Add-on modules for Prosody IM Server* -------------------------------------------------------------------------- Community repository for non-core, unofficial and/or experimental plugins for [Prosody][]. If you are a developer and would like to host your Prosody module in this repository, or want to contribute to existing modules, simply introduce yourself and request commit access on our [mailing list][]. Notes for users ---------------- There are lots of fun and exciting modules to be found here, we know you'll like it. However please note that each module is in a different state of development. Some are proof-of-concept, others are quite stable and ready for production use. Be sure to read the wiki page of any module before installing it on your server. We are working on methods to easily download and install modules from this repository. In the meantime most modules are either a single file and easy to install, or contain installation instructions on their wiki page. You can browse the files stored in this repository at <https://hg.prosody.im/prosody-modules>. [Prosody]: https://prosody.im/ [mailing list]: https://prosody.im/discuss