Changeset 8944

Show
Ignore:
Timestamp:
11/07/07 22:30:35 (13 months ago)
Author:
asterix
Message:

don't show twice the same resource in account row tooltip.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/roster_window.py

    r8932 r8944  
    14941494                                                # ...get the contact info for our other online resources 
    14951495                                                for resource in resources: 
     1496                                                        # Check if we already have this resource 
     1497                                                        found = False 
     1498                                                        for contact_ in contacts: 
     1499                                                                if contact_.resource == resource: 
     1500                                                                        found = True 
     1501                                                                        break 
     1502                                                        if found: 
     1503                                                                continue 
    14961504                                                        show = roster.getShow(jid+'/'+resource) 
    14971505                                                        if not show: