Software / code / prosody-modules
File
mod_auto_accept_subscriptions/README.md @ 6119:6dca425eea15
mod_pubsub_subscription: Don't block pubsub unhandled or bare JID notifications
The module was marking every successfully-parsed pubsub notification as handled,
which could prevent local users from receiving pubsub notifications.
Now it will only eat them if both:
- The notification was sent to the host JID
- The notification matched a node we consider ourselves subscribed to
Notifications to local (i.e. non-host) JIDs will always be let through.
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Sat, 28 Dec 2024 18:45:40 +0000 |
| parent | 6105:a21a375d79a9 |
| child | 6211:750d64c47ec6 |
line wrap: on
line source
--- labels: - 'Stage-Beta' summary: Automatically accept incoming subscription requests on behalf of users ... Introduction ============ In some environments where all users on the system have mutual trust in each other, it's sometimes fine to skip the usual authorization process to add someone to your contact list and see their status. This module sets Prosody to automatically accept incoming subscription authorization requests, and add the contact to the user's contact list, without intervention from the user. Configuration ============= Simply add the module to your modules\_enabled list like any other module: modules_enabled = { ... "auto_accept_subscriptions"; ... } This module has no further configuration. Compatibility ============= Prosody-Version Status --------------- ----------- 0.12 Should work 0.11 Should work 0.10 Works