changeset b53a121defda in /home/hg/repos/gajim

branches: gtk3
details:http://hg.gajim.org/gajim?cmd=changeset;node=b53a121defda
description: fix invite contact list. Fixes #7422

diffstat:

 src/dialogs.py |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r e6bafa5444cc -r b53a121defda src/dialogs.py
--- a/src/dialogs.py    Tue Aug 13 13:02:31 2013 +0200
+++ b/src/dialogs.py    Tue Aug 13 13:42:20 2013 +0200
@@ -5017,7 +5017,7 @@
                 contact.jid != gajim.get_jid_from_account(self.account) and
                 contact.jid not in gajim.interface.minimized_controls[account] 
and
                 not contact.is_transport() and
-                not contact_transport)
+                contact_transport in ('jabber', None))
 
         # set jabber id and pseudos
         for account in gajim.contacts.get_accounts():
@@ -5029,7 +5029,7 @@
                 contact_transport = gajim.get_transport_name_from_jid(jid)
                 # Add contact if it can be invited
                 if invitable(contact, contact_transport) and \
-                   contact.show not in ('offline', 'error'):
+                contact.show not in ('offline', 'error'):
                     img = 
gajim.interface.jabber_state_images['16'][contact.show]
                     name = contact.name
                     if name == '':
_______________________________________________
Commits mailing list
[email protected]
http://lists.gajim.org/cgi-bin/listinfo/commits

Reply via email to