Merge 0.12->trunk
authorMatthew Wild <mwild1@gmail.com>
Mon, 21 Mar 2022 12:36:38 +0000
changeset 12432 ba5bf1d9d9bd
parent 12430 7a3da1acace1 (current diff)
parent 12431 018ac691ee22 (diff)
child 12433 16a49f04d507
Merge 0.12->trunk
--- a/plugins/mod_pubsub/mod_pubsub.lua	Mon Mar 21 11:15:30 2022 +0000
+++ b/plugins/mod_pubsub/mod_pubsub.lua	Mon Mar 21 12:36:38 2022 +0000
@@ -84,7 +84,7 @@
 			end
 			if not expose_publisher then
 				item.attr.publisher = nil;
-			elseif not item.attr.publisher then
+			elseif not item.attr.publisher and actor ~= true then
 				item.attr.publisher = service.config.normalize_jid(actor);
 			end
 		end