Changeset 8890

Show
Ignore:
Timestamp:
10/07/07 21:20:45 (14 months ago)
Author:
steve-e
Message:

Do not include zeroconf contacts in Chat2Muc invite window

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/dialogs.py

    r8888 r8890  
    33993399                # set jabber id and pseudos 
    34003400                for account in gajim.contacts.get_accounts(): 
     3401                        if gajim.connections[account].is_zeroconf: 
     3402                                continue 
    34013403                        for jid in gajim.contacts.get_jid_list(account): 
    34023404                                contact = \ 
    34033405                                        gajim.contacts.get_contact_with_highest_priority(account, jid) 
    34043406                                contact_transport = gajim.get_transport_name_from_jid(jid) 
     3407                                # do not add transports, zeroconf contacs, minimized groupchats 
     3408                                # and selfjid to list of invitable jids 
    34053409                                if contact.jid not in self.auto_jids and contact.jid != \ 
    34063410                                gajim.get_jid_from_account(self.account) and not contact_transport \