Software /
code /
prosody
Diff
util/pubsub.lua @ 8810:9f8a746f99c1
util.pubsub: Add a default/fallback JID normalization function
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 20 May 2018 15:21:57 +0200 |
parent | 8809:6cba2df3817c |
child | 8813:2c55fccb0c0c |
line wrap: on
line diff
--- a/util/pubsub.lua Sun May 20 03:27:02 2018 +0200 +++ b/util/pubsub.lua Sun May 20 15:21:57 2018 +0200 @@ -8,6 +8,7 @@ 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 };