Software /
code /
prosody
Changeset
8326:12408867bc86
util.pubsub: Remove inclusion of publisher
util.pubsub should stay agnostic of what data types are published and
this depended on util.stanza
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 16 Oct 2017 22:12:14 +0200 |
parents | 8325:9a845e9e9cbf |
children | 8327:0b561f8bc790 |
files | util/pubsub.lua |
diffstat | 1 files changed, 0 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- 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";