Comparison

plugins/mod_pubsub/mod_pubsub.lua @ 8218:2c75a5ba58fc

mod_pubsub: Pass 'user' to simple_itemstore
author Kim Alvefur <zash@zash.se>
date Wed, 26 Apr 2017 12:09:58 +0200
parent 8213:e1272aeef31c
child 8221:4989a625419a
comparison
equal deleted inserted replaced
8217:5f4e0d67b82a 8218:2c75a5ba58fc
37 return true; 37 return true;
38 end 38 end
39 end 39 end
40 40
41 local function simple_itemstore(config, node) 41 local function simple_itemstore(config, node)
42 return lib_pubsub.simple_itemstore(archive, config, node, expose_publisher); 42 return lib_pubsub.simple_itemstore(archive, config, nil, node, expose_publisher);
43 end 43 end
44 44
45 function simple_broadcast(kind, node, jids, item, actor) 45 function simple_broadcast(kind, node, jids, item, actor)
46 if item then 46 if item then
47 item = st.clone(item); 47 item = st.clone(item);