aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2010-12-22 03:04:44 +0000
committerMatthew Wild <mwild1@gmail.com>2010-12-22 03:04:44 +0000
commita20e58497b7d2704a23f5c90dabb0918c1fb27c3 (patch)
tree018093dc383462b865a53aad2bf2b243b7235c57
parent9622bf99fb225ede604c657cc8588a11cd49aa09 (diff)
downloadprosody-a20e58497b7d2704a23f5c90dabb0918c1fb27c3.tar.gz
prosody-a20e58497b7d2704a23f5c90dabb0918c1fb27c3.zip
mod_pubsub: Set normalize_jid instead of jids_equal
-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;
}));