fix attribute name. Fixes #5448

This commit is contained in:
Yann Leboulanger 2009-11-25 12:31:40 +01:00
parent 7eb24c3c53
commit 6c4724f53f
1 changed files with 1 additions and 1 deletions

View File

@ -1877,7 +1877,7 @@ class ConnectionHandlers(ConnectionVcard, ConnectionBytestream, ConnectionDisco,
for group in contact.groups:
if group not in groups:
same_groups = False
if contact.subscription in ('both', 'to') and same_groups:
if contact.sub in ('both', 'to') and same_groups:
continue
exchange_items_list[jid] = []
exchange_items_list[jid].append(name)