changeset 948:79b4a1db7a57

mod_pubsub_googlecode: Remove quotes around 'project'... it's a variable :)
author Matthew Wild <mwild1@gmail.com>
date Wed, 03 Apr 2013 18:27:55 +0100
parents c91cac3b823f
children b729414b4bf1
files mod_pubsub_googlecode/mod_pubsub_googlecode.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mod_pubsub_googlecode/mod_pubsub_googlecode.lua	Wed Apr 03 16:11:20 2013 +0100
+++ b/mod_pubsub_googlecode/mod_pubsub_googlecode.lua	Wed Apr 03 18:27:55 2013 +0100
@@ -51,7 +51,7 @@
 		end
 
 		local ok, err = pubsub_service:publish(node, true, project,
-			st.stanza("item", { xmlns = "http://jabber.org/protocol/pubsub", id = "project" })
+			st.stanza("item", { xmlns = "http://jabber.org/protocol/pubsub", id = project })
 			:tag("entry", { xmlns = "http://www.w3.org/2005/Atom" })
 				:tag("id"):text(tostring(rev.revision)):up()
 				:tag("title"):text(rev.message):up()