[Jim] don't ask status message when going invisible

This commit is contained in:
Yann Leboulanger 2005-11-28 22:16:57 +00:00
parent e7d7200e04
commit 4b42e0fa01
1 changed files with 2 additions and 1 deletions

View File

@ -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()