diff options
author | Matthew Wild <mwild1@gmail.com> | 2010-12-22 03:04:44 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2010-12-22 03:04:44 +0000 |
commit | a20e58497b7d2704a23f5c90dabb0918c1fb27c3 (patch) | |
tree | 018093dc383462b865a53aad2bf2b243b7235c57 /plugins | |
parent | 9622bf99fb225ede604c657cc8588a11cd49aa09 (diff) | |
download | prosody-a20e58497b7d2704a23f5c90dabb0918c1fb27c3.tar.gz prosody-a20e58497b7d2704a23f5c90dabb0918c1fb27c3.zip |
mod_pubsub: Set normalize_jid instead of jids_equal
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/mod_pubsub.lua | 5 |
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; })); |