From 14a49dcf25e9ac2706691361b687b99b87a00240 Mon Sep 17 00:00:00 2001 From: Nikos Kouremenos Date: Fri, 9 Sep 2005 14:09:37 +0000 Subject: [PATCH] fix logic --- src/gajim.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gajim.py b/src/gajim.py index 49d97e35f..5d7616fd9 100755 --- a/src/gajim.py +++ b/src/gajim.py @@ -1242,9 +1242,9 @@ if __name__ == '__main__': pass else: we_set = False - if client.get_string('/desktop/gnome/url-handlers/xmpp/command') is None: + if gajim.config.get('set_xmpp://_handler_everytime'): we_set = True - elif gajim.config.get('set_xmpp://_handler_everytime'): + elif client.get_string('/desktop/gnome/url-handlers/xmpp/command') is None: we_set = True if we_set: