Software /
code /
prosody-modules
File
mod_server_contact_info/README.md @ 6057:cc665f343690
mod_firewall: SUBSCRIBED: Flip subscription check to match documentation
The documentation claims that this condition checks whether the recipient is
subscribed to the sender.
However, it was using the wrong method, and actually checking whether the
sender was subscribed to the recipient.
A quick poll of folk suggested that the documentation's approach is the right
one, so this should fix the code to match the documentation.
This should also fix the bundled anti-spam rules from blocking presence from
JIDs that you subscribe do (but don't have a mutual subscription with).
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Fri, 22 Nov 2024 13:50:48 +0000 |
parent | 5948:254a21a104aa |
line wrap: on
line source
--- labels: - 'Stage-Alpha' summary: Backported mod_server_contact_info for Prosody 0.12 ... ## Overview In February 2024 we improved the internal API to allow multiple modules to publish information about the server, this includes mod_pubsub_serverinfo. Although Prosody 0.12 comes with its own mod_server_contact_info, this version uses the new API so that 0.12 users can hopefully use mod_pubsub_serverinfo and other modules which use the new API. To use it, you must ensure that your Prosody 0.12 deployment is loading *both* mod_server_contact_info **and** mod_server_info community modules. Configuration of contact addresses is the same, whatever version of the module you use. See the official documentation on [Prosody's mod_server_contact_info](https://prosody.im/doc/modules/mod_server_contact_info) page. ## Compatibility This module should be compatible with Prosody 0.12, and will fail to load in later versions (which already provide the same functionality without community modules).