Software /
code /
prosody-modules
File
mod_extdisco/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 | 6003:fe081789f7b5 |
line wrap: on
line source
--- summary: External Service Discovery ... Introduction ============ This module adds support for [XEP-0215: External Service Discovery], which lets Prosody advertise non-XMPP services. Configuration ============= Example services from the XEP: ``` {.lua} modules_enabled = { -- other modules ... "extdisco"; } external_services = { ["stun.shakespeare.lit"] = { port="9998"; transport="udp"; type="stun"; }; ["relay.shakespeare.lit"] = { password="jj929jkj5sadjfj93v3n"; port="9999"; transport="udp"; type="turn"; username="nb78932lkjlskjfdb7g8"; }; ["192.0.2.1"] = { port="8888"; transport="udp"; type="stun"; }; ["192.0.2.1"] = { port="8889"; password="93jn3bakj9s832lrjbbz"; transport="udp"; type="turn"; username="auu98sjl2wk3e9fjdsl7"; }; ["ftp.shakespeare.lit"] = { name="Shakespearean File Server"; password="guest"; port="20"; transport="tcp"; type="ftp"; username="guest"; }; } ``` Compatibility ============= Incompatible with [mod_turncredentials](https://modules.prosody.im/mod_turncredentials).