diff options
author | Kim Alvefur <zash@zash.se> | 2018-05-20 15:21:57 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2018-05-20 15:21:57 +0200 |
commit | 9c4ad791201b1c4b8d5a8b6a11e31560509f7159 (patch) | |
tree | 308fa31067c7dd9bfcdcbe1d76a2d7c4f78576ee /util | |
parent | ee9a168e80fc8f5de65465a410e0721120bed827 (diff) | |
download | prosody-9c4ad791201b1c4b8d5a8b6a11e31560509f7159.tar.gz prosody-9c4ad791201b1c4b8d5a8b6a11e31560509f7159.zip |
util.pubsub: Add a default/fallback JID normalization function
Diffstat (limited to 'util')
-rw-r--r-- | util/pubsub.lua | 1 |
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 }; |