Comparison

plugins/mod_pubsub/mod_pubsub.lua @ 12428:ba5bf1d9d9bd

Merge 0.12->trunk
author Matthew Wild <mwild1@gmail.com>
date Mon, 21 Mar 2022 12:36:38 +0000
parent 12427:018ac691ee22
child 12642:9061f9621330
comparison
equal deleted inserted replaced
12426:7a3da1acace1 12428:ba5bf1d9d9bd
82 if node_obj and node_obj.config.include_payload == false then 82 if node_obj and node_obj.config.include_payload == false then
83 item:maptags(function () return nil; end); 83 item:maptags(function () return nil; end);
84 end 84 end
85 if not expose_publisher then 85 if not expose_publisher then
86 item.attr.publisher = nil; 86 item.attr.publisher = nil;
87 elseif not item.attr.publisher then 87 elseif not item.attr.publisher and actor ~= true then
88 item.attr.publisher = service.config.normalize_jid(actor); 88 item.attr.publisher = service.config.normalize_jid(actor);
89 end 89 end
90 end 90 end
91 end 91 end
92 92