mod_pubsub_googlecode: Remove quotes around 'project'... it's a variable :)
authorMatthew Wild <mwild1@gmail.com>
Wed, 03 Apr 2013 18:27:55 +0100
changeset 948 79b4a1db7a57
parent 947 c91cac3b823f
child 949 b729414b4bf1
mod_pubsub_googlecode: Remove quotes around 'project'... it's a variable :)
mod_pubsub_googlecode/mod_pubsub_googlecode.lua
--- 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()