# HG changeset patch # User Matthew Wild # Date 1647866180 0 # Node ID 018ac691ee2236bd35af184e746ac02345872a04 # Parent 3ae9299d61d7427b2b1fbf82c04eb13de544f762 mod_pubsub: Don't attempt to use server actor as publisher (fixes #1723) diff -r 3ae9299d61d7 -r 018ac691ee22 plugins/mod_pubsub/mod_pubsub.lua --- a/plugins/mod_pubsub/mod_pubsub.lua Mon Mar 21 10:06:48 2022 +0000 +++ b/plugins/mod_pubsub/mod_pubsub.lua Mon Mar 21 12:36:20 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