aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2018-05-20 15:21:57 +0200
committerKim Alvefur <zash@zash.se>2018-05-20 15:21:57 +0200
commit9c4ad791201b1c4b8d5a8b6a11e31560509f7159 (patch)
tree308fa31067c7dd9bfcdcbe1d76a2d7c4f78576ee
parentee9a168e80fc8f5de65465a410e0721120bed827 (diff)
downloadprosody-9c4ad791201b1c4b8d5a8b6a11e31560509f7159.tar.gz
prosody-9c4ad791201b1c4b8d5a8b6a11e31560509f7159.zip
util.pubsub: Add a default/fallback JID normalization function
-rw-r--r--util/pubsub.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/util/pubsub.lua b/util/pubsub.lua
index 65f6eee7..97d636ce 100644
--- a/util/pubsub.lua
+++ b/util/pubsub.lua
@@ -8,6 +8,7 @@ local default_config = {
broadcaster = function () end;
itemcheck = function () return true; end;
get_affiliation = function () end;
+ normalize_jid = function (jid) return jid; end;
capabilities = {};
};
local default_config_mt = { __index = default_config };