Set the group to avoid dupes in ejabberd

This commit is contained in:
2011-02-13 18:09:44 +00:00
parent 8f2daf56fd
commit 3724b30d99

View File

@@ -134,7 +134,7 @@ class JabberService(BaseService):
return True
else:
if len(users):
for u in users:
for u in set(users):
msg.setTo(u)
self.send_message(self.settings['jabber_announce_from'], msg)
return True