Software /
code /
prosody
Changeset
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 |
parents | 3934:4bd994df7296 |
children | 3936:61f12f8a8539 |
files | plugins/mod_pubsub.lua |
diffstat | 1 files changed, 2 insertions(+), 3 deletions(-) [+] |
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; }));