mod_pubsub: Set normalize_jid instead of jids_equal
authorMatthew Wild <mwild1@gmail.com>
Wed, 22 Dec 2010 03:04:44 +0000
changeset 3935 2733b56f23b0
parent 3934 4bd994df7296
child 3936 61f12f8a8539
mod_pubsub: Set normalize_jid instead of jids_equal
plugins/mod_pubsub.lua
--- 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;
 }));