This commit is contained in:
Yann Leboulanger 2005-11-02 22:01:28 +00:00
parent 744814e860
commit ce7a532f08

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) # check if contact is already in roster (user@server == UsEr@server)
already_in = False already_in = False
for rjid in gajim.contacts[self.account]: for rjid in gajim.contacts[self.account]:
if jid.lowercase() == rjid.lowercase(): if jid.lower() == rjid.lower():
already_in = True already_in = True
break break
if already_in: if already_in: