--- 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")