Diff

mod_pubsub_googlecode/mod_pubsub_googlecode.lua @ 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
parent 946:2c5430ff1c11
child 951:ef54ae817689
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()