Changeset

1404:99cb06b31ae8

mod_jid_prep: Update to version 0.1; advertise feature and change :tmp to :0 in namespace
author Kim Alvefur <zash@zash.se>
date Tue, 06 May 2014 15:03:46 +0200
parents 1403:6b3db167374a
children 1405:26a2092e289f
files mod_jid_prep/mod_jid_prep.lua
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mod_jid_prep/mod_jid_prep.lua	Wed Apr 30 13:22:08 2014 +0200
+++ b/mod_jid_prep/mod_jid_prep.lua	Tue May 06 15:03:46 2014 +0200
@@ -4,7 +4,9 @@
 local jid_prep = require "util.jid".prep;
 local st = require "util.stanza";
 
-local xmlns_prep = "urn:xmpp:jidprep:tmp";
+local xmlns_prep = "urn:xmpp:jidprep:0";
+
+module:add_feature(xmlns_prep);
 
 function prep_jid(event)
 	local stanza = event.stanza;