Mercurial > prosody-hg
comparison plugins/mod_pubsub/mod_pubsub.lua @ 12021:376522fb3f52
mod_pubsub: Allow specifying the JID of the pubsub service
This allows overriding it in cases where it is not equal to module.host,
like say, in mod_pep
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Tue, 07 Dec 2021 13:03:55 +0100 |
| parents | 14a679588b7b |
| children | 26af75c20163 |
comparison
equal
deleted
inserted
replaced
| 12020:a949f1aae171 | 12021:376522fb3f52 |
|---|---|
| 229 broadcaster = simple_broadcast; | 229 broadcaster = simple_broadcast; |
| 230 itemcheck = is_item_stanza; | 230 itemcheck = is_item_stanza; |
| 231 check_node_config = check_node_config; | 231 check_node_config = check_node_config; |
| 232 get_affiliation = get_affiliation; | 232 get_affiliation = get_affiliation; |
| 233 | 233 |
| 234 jid = module.host; | |
| 234 normalize_jid = jid_bare; | 235 normalize_jid = jid_bare; |
| 235 })); | 236 })); |
| 236 end | 237 end |
