diff options
author | Kim Alvefur <zash@zash.se> | 2017-10-16 22:12:14 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2017-10-16 22:12:14 +0200 |
commit | f2bdafd709ba284b5d9d74bbf8924829b14a8060 (patch) | |
tree | a119e8db11d473a6b233e93903a569b917b305d9 /util/pubsub.lua | |
parent | 639ea8b1ca27e6239635579283f2017681e8cee7 (diff) | |
download | prosody-f2bdafd709ba284b5d9d74bbf8924829b14a8060.tar.gz prosody-f2bdafd709ba284b5d9d74bbf8924829b14a8060.zip |
util.pubsub: Remove inclusion of publisher
util.pubsub should stay agnostic of what data types are published and
this depended on util.stanza
Diffstat (limited to 'util/pubsub.lua')
-rw-r--r-- | util/pubsub.lua | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/util/pubsub.lua b/util/pubsub.lua index 9b38bf59..a10f9a84 100644 --- a/util/pubsub.lua +++ b/util/pubsub.lua @@ -271,9 +271,6 @@ function service:publish(node, actor, id, item) node_obj = self.nodes[node]; end local node_data = self.data[node]; - if type(actor) == "string" then - item.attr.publisher = actor; - end local ok = node_data:set(id, item); if not ok then return nil, "internal-server-error"; |