Changeset

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
parents 8809:6cba2df3817c
children 8811:f2d35eee69c9
files util/pubsub.lua
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
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 };