From 9c4ad791201b1c4b8d5a8b6a11e31560509f7159 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Sun, 20 May 2018 15:21:57 +0200 Subject: util.pubsub: Add a default/fallback JID normalization function --- util/pubsub.lua | 1 + 1 file changed, 1 insertion(+) 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 }; -- cgit v1.2.3