Changeset 7638 for trunk/src/dialogs.py

Show
Ignore:
Timestamp:
12/12/06 15:16:29 (2 years ago)
Author:
asterix
Message:

better detection of transport jid in add contact dialog. fixes #2750

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/dialogs.py

    r7632 r7638  
    465465                        for j in gajim.contacts.get_jid_list(acct): 
    466466                                contact = gajim.contacts.get_first_contact_from_jid(acct, j) 
    467                                 if _('Transports') in contact.groups: 
     467                                if gajim.jid_is_transport(j): 
    468468                                        type_ = gajim.get_transport_name_from_jid(j) 
    469469                                        if self.agents.has_key(type_):