aboutsummaryrefslogtreecommitdiffstats
path: root/util
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
commit972335a4b263b9a53404209e4cfd61b5f0e6349a (patch)
tree308fa31067c7dd9bfcdcbe1d76a2d7c4f78576ee /util
parent9ba89e20b4273a9de409a017ba7d8c3543924d62 (diff)
downloadprosody-972335a4b263b9a53404209e4cfd61b5f0e6349a.tar.gz
prosody-972335a4b263b9a53404209e4cfd61b5f0e6349a.zip
util.pubsub: Add a default/fallback JID normalization function
Diffstat (limited to 'util')
-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 };