Software /
code /
prosody-modules
Changeset
1243:c2bf6b2102aa
mod_pubsub_mqtt: Change namespace of 'data' element to make it generic
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Mon, 02 Dec 2013 03:08:17 +0000 |
parents | 1242:4d1226220e58 |
children | 1244:d1bc9a796daf |
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 Mon Dec 02 03:07:48 2013 +0000 +++ b/mod_pubsub_mqtt/mod_pubsub_mqtt.lua Mon Dec 02 03:08:17 2013 +0000 @@ -41,7 +41,7 @@ end local id = "mqtt"; local ok, err = pubsub:publish(node, true, id, - st.stanza("data", { xmlns = "https://prosody.im/protocol/mqtt" }) + st.stanza("data", { xmlns = "https://prosody.im/protocol/data" }) :text(packet.data) ); if not ok then