aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins/mod_pubsub.lua5
1 files changed, 2 insertions, 3 deletions
diff --git a/plugins/mod_pubsub.lua b/plugins/mod_pubsub.lua
index 5f100e20..0cc34490 100644
--- a/plugins/mod_pubsub.lua
+++ b/plugins/mod_pubsub.lua
@@ -329,7 +329,6 @@ set_service(pubsub.new({
broadcaster = simple_broadcast;
get_affiliation = get_affiliation;
- jids_equal = function (jid1, jid2)
- return jid_bare(jid1) == jid_bare(jid2);
- end;
+
+ normalize_jid = jid_bare;
}));