contact in not in the roster can be added to the roster

This commit is contained in:
Yann Leboulanger 2005-11-09 18:02:57 +00:00
parent f466590c7b
commit 1060ab1dbe
1 changed files with 2 additions and 1 deletions

View File

@ -366,7 +366,8 @@ _('Please fill in the data of the contact you want to add in account %s') %accou
return
# Check if jid is already in roster
if jid in gajim.contacts[self.account]:
if jid in gajim.contacts[self.account] and _('not in the roster') not in \
gajim.contacts[self.account][jid][0].groups:
ErrorDialog(_('Contact already in roster'),
_('The contact is already listed in your roster.')).get_response()
return