plugins/mod_groups.lua
changeset 5417 d13ec6622752
parent 5373 9e6d6cdf0449
child 5418 7f270fbf3361
--- a/plugins/mod_groups.lua	Wed Apr 03 13:39:41 2013 +0100
+++ b/plugins/mod_groups.lua	Wed Apr 03 13:40:29 2013 +0100
@@ -121,3 +121,8 @@
 function module.unload()
 	datamanager.remove_callback(remove_virtual_contacts);
 end
+
+-- Public for other modules to access
+function group_contains(group_name, jid)
+	return groups[group_name][jid];
+end