mod_cloud_notify: Fix syntax error
authorKim Alvefur <zash@zash.se>
Thu, 18 Feb 2016 22:38:53 +0100
changeset 2055 cb0fc00a7086
parent 2054 49cc6a555dc7
child 2056 ad2966b932ed
mod_cloud_notify: Fix syntax error
mod_cloud_notify/mod_cloud_notify.lua
--- a/mod_cloud_notify/mod_cloud_notify.lua	Thu Feb 18 22:37:50 2016 +0100
+++ b/mod_cloud_notify/mod_cloud_notify.lua	Thu Feb 18 22:38:53 2016 +0100
@@ -91,7 +91,7 @@
 		local push_publish = st.iq({ to = push_jid, from = node .. "@" .. module.host, type = "set", id = "push" })
 			:tag("pubsub", { xmlns = "http://jabber.org/protocol/pubsub" })
 				:tag("publish", { node = push_node })
-					:tag("item");
+					:tag("item")
 						:tag("notification", { xmlns = xmlns_push });
 		local form_data = {
 			["message-count"] = tostring(push_info.count);