Software /
code /
prosody
Diff
plugins/mod_pubsub.lua @ 3935:2733b56f23b0
mod_pubsub: Set normalize_jid instead of jids_equal
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Wed, 22 Dec 2010 03:04:44 +0000 |
parent | 3933:24f0a7544a7a |
child | 3939:b66e9a7593b6 |
line wrap: on
line diff
--- a/plugins/mod_pubsub.lua Wed Dec 22 03:04:14 2010 +0000 +++ b/plugins/mod_pubsub.lua Wed Dec 22 03:04:44 2010 +0000 @@ -329,7 +329,6 @@ broadcaster = simple_broadcast; get_affiliation = get_affiliation; - jids_equal = function (jid1, jid2) - return jid_bare(jid1) == jid_bare(jid2); - end; + + normalize_jid = jid_bare; }));