changeset 9bd551753900 in /home/hg/repos/gajim

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

diffstat:

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

diffs (21 lines):

diff -r 822393ed055b -r 9bd551753900 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
@@ -4973,7 +4973,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():
@@ -4985,7 +4985,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