Show
Ignore:
Timestamp:
08/31/07 19:17:22 (15 months ago)
Author:
asterix
Message:

Fix autocomplation for jids where username is set as nickname. Fixes #2608.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/gajim_0.11.1/src/common/helpers.py

    r8607 r8681  
    207207                        contacts_dict['%s (%s)' % (name, jid)] = contact 
    208208                else: 
     209                        if contact.name == gajim.get_nick_from_jid(jid): 
     210                                del contacts_dict[jid] 
    209211                        contacts_dict[name] = contact 
    210212        return contacts_dict