From 4b42e0fa012e3e762fc9ac33f9a8f8bd831f0854 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Mon, 28 Nov 2005 22:16:57 +0000 Subject: [PATCH] [Jim] don't ask status message when going invisible --- src/roster_window.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/roster_window.py b/src/roster_window.py index 45462d1f1..82ba0b90a 100644 --- a/src/roster_window.py +++ b/src/roster_window.py @@ -1505,7 +1505,8 @@ _('If "%s" accepts this request you will know his or her status.') %jid) def get_status_message(self, show): if (show == 'online' and not gajim.config.get('ask_online_status')) or \ - (show == 'offline' and not gajim.config.get('ask_offline_status')): + (show == 'offline' and not gajim.config.get('ask_offline_status')) or \ + show == 'invisible': return '' dlg = dialogs.ChangeStatusMessageDialog(show) message = dlg.run()