Changeset

2051:cb0fc00a7086

mod_cloud_notify: Fix syntax error
author Kim Alvefur <zash@zash.se>
date Thu, 18 Feb 2016 22:38:53 +0100
parents 2050:49cc6a555dc7
children 2052:ad2966b932ed
files mod_cloud_notify/mod_cloud_notify.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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);