# HG changeset patch # User Kim Alvefur # Date 1508184734 -7200 # Node ID 12408867bc8615bad2a455f9cc377614084f03dd # Parent 9a845e9e9cbfd1c95b750c2b943f61087d91b773 util.pubsub: Remove inclusion of publisher util.pubsub should stay agnostic of what data types are published and this depended on util.stanza diff -r 9a845e9e9cbf -r 12408867bc86 util/pubsub.lua --- a/util/pubsub.lua Sun Oct 15 19:03:49 2017 +0200 +++ b/util/pubsub.lua Mon Oct 16 22:12:14 2017 +0200 @@ -271,9 +271,6 @@ 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";