Software /
code /
prosody
Comparison
plugins/mod_pubsub/mod_pubsub.lua @ 13550:eae0272b87e3
mod_pubsub: Use new metadata method
No longer bypasses access control to retrieve this config subset, which
is also explicitly named in the service config now.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 08 Nov 2024 02:12:45 +0100 |
parent | 13524:cfc42ed3892c |
child | 13585:8091c1b8023e |
comparison
equal
deleted
inserted
replaced
13549:3b357ab6b6eb | 13550:eae0272b87e3 |
---|---|
254 nodestore = node_store; | 254 nodestore = node_store; |
255 itemstore = create_simple_itemstore; | 255 itemstore = create_simple_itemstore; |
256 broadcaster = simple_broadcast; | 256 broadcaster = simple_broadcast; |
257 itemcheck = is_item_stanza; | 257 itemcheck = is_item_stanza; |
258 check_node_config = check_node_config; | 258 check_node_config = check_node_config; |
259 metadata_subset = { | |
260 "title"; | |
261 "description"; | |
262 "payload_type"; | |
263 "access_model"; | |
264 "publish_model"; | |
265 }; | |
259 get_affiliation = get_affiliation; | 266 get_affiliation = get_affiliation; |
260 | 267 |
261 jid = module.host; | 268 jid = module.host; |
262 normalize_jid = jid_bare; | 269 normalize_jid = jid_bare; |
263 })); | 270 })); |