mod_cloud_notify/mod_cloud_notify.lua
changeset 2755 6b710a8bdf03
parent 2753 9756211fcbe3
child 2795 008cf272b7ea
--- a/mod_cloud_notify/mod_cloud_notify.lua	Wed Aug 23 14:31:55 2017 -0500
+++ b/mod_cloud_notify/mod_cloud_notify.lua	Thu Aug 24 19:06:21 2017 +0200
@@ -250,7 +250,7 @@
 			push_store:set_identifier(node, push_identifier, push_info);
 			-- construct push stanza
 			local stanza_id = hashes.sha256(push_identifier, true);
-			local push_publish = st.iq({ to = push_info.jid, from = node .. "@" .. module.host, type = "set", id = stanza_id })
+			local push_publish = st.iq({ to = push_info.jid, from = module.host, type = "set", id = stanza_id })
 				:tag("pubsub", { xmlns = "http://jabber.org/protocol/pubsub" })
 					:tag("publish", { node = push_info.node })
 						:tag("item")