changeset 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 (2013-12-03)
parents a1287d1f8a1f
children 34fbe58d19da
files mod_pubsub_mqtt/mod_pubsub_mqtt.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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;