Software /
code /
prosody
Comparison
plugins/mod_pubsub/mod_pubsub.lua @ 11715:ddd6e21e58bf
mod_pubsub: Respect 'expose publisher' setting in item retrieval
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 25 Jul 2021 13:52:27 +0200 |
parent | 11631:6641ca266d94 |
child | 11717:605484fc1c62 |
comparison
equal
deleted
inserted
replaced
11714:d783716103c1 | 11715:ddd6e21e58bf |
---|---|
197 if module.reloading then return; end | 197 if module.reloading then return; end |
198 | 198 |
199 set_service(pubsub.new({ | 199 set_service(pubsub.new({ |
200 autocreate_on_publish = autocreate_on_publish; | 200 autocreate_on_publish = autocreate_on_publish; |
201 autocreate_on_subscribe = autocreate_on_subscribe; | 201 autocreate_on_subscribe = autocreate_on_subscribe; |
202 expose_publisher = expose_publisher; | |
202 | 203 |
203 nodestore = node_store; | 204 nodestore = node_store; |
204 itemstore = create_simple_itemstore; | 205 itemstore = create_simple_itemstore; |
205 broadcaster = simple_broadcast; | 206 broadcaster = simple_broadcast; |
206 itemcheck = is_item_stanza; | 207 itemcheck = is_item_stanza; |