Software /
code /
prosody
Comparison
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 |
comparison
equal
deleted
inserted
replaced
3934:4bd994df7296 | 3935:2733b56f23b0 |
---|---|
327 autocreate_on_publish = autocreate_on_publish; | 327 autocreate_on_publish = autocreate_on_publish; |
328 autocreate_on_subscribe = autocreate_on_subscribe; | 328 autocreate_on_subscribe = autocreate_on_subscribe; |
329 | 329 |
330 broadcaster = simple_broadcast; | 330 broadcaster = simple_broadcast; |
331 get_affiliation = get_affiliation; | 331 get_affiliation = get_affiliation; |
332 jids_equal = function (jid1, jid2) | 332 |
333 return jid_bare(jid1) == jid_bare(jid2); | 333 normalize_jid = jid_bare; |
334 end; | |
335 })); | 334 })); |