diff mod_pubsub_mqtt/mod_pubsub_mqtt.lua @ 1246:e76f7b6be20e

mod_pubsub_mqtt: Fix namespace of translator too
author Matthew Wild <mwild1@gmail.com>
date Tue, 03 Dec 2013 00:08:11 +0000
parents c2bf6b2102aa
children d3579ea5ff33
line wrap: on
line diff
--- a/mod_pubsub_mqtt/mod_pubsub_mqtt.lua	Wed Dec 04 19:26:37 2013 +0100
+++ b/mod_pubsub_mqtt/mod_pubsub_mqtt.lua	Tue Dec 03 00:08:11 2013 +0000
@@ -121,7 +121,7 @@
 end
 
 local data_translators = setmetatable({
-	["data https://prosody.im/protocol/mqtt"] = tostring_content;
+	["data https://prosody.im/protocol/data"] = tostring_content;
 	["json urn:xmpp:json:0"] = tostring_content;
 }, {
 	__index = function () return tostring; end;