diff --git a/src/dialogs.py b/src/dialogs.py index 4279fb1d9e2dafb0a7b8e276a993d63906018ab3..f99d834e7152bbc90361d555105d2a6a3d77b8d3 100644 --- a/src/dialogs.py +++ b/src/dialogs.py @@ -464,7 +464,7 @@ _('Please fill in the data of the contact you want to add in account %s') %accou for acct in accounts: for j in gajim.contacts.get_jid_list(acct): contact = gajim.contacts.get_first_contact_from_jid(acct, j) - if _('Transports') in contact.groups: + if gajim.jid_is_transport(j): type_ = gajim.get_transport_name_from_jid(j) if self.agents.has_key(type_): self.agents[type_].append(j)