This commit is contained in:
Yann Leboulanger 2005-11-02 22:01:28 +00:00
parent 744814e860
commit ce7a532f08
1 changed files with 1 additions and 1 deletions

View File

@ -364,7 +364,7 @@ _('Please fill in the data of the contact you want to add in account %s') %accou
# check if contact is already in roster (user@server == UsEr@server)
already_in = False
for rjid in gajim.contacts[self.account]:
if jid.lowercase() == rjid.lowercase():
if jid.lower() == rjid.lower():
already_in = True
break
if already_in: