Ask for status message for invisible status if ask_offline_status is True
This commit is contained in:
parent
c54dfb4ffd
commit
bf99ab82f7
1 changed files with 2 additions and 2 deletions
|
@ -2749,8 +2749,8 @@ class RosterWindow:
|
||||||
if gajim.config.get_per('defaultstatusmsg', show, 'enabled'):
|
if gajim.config.get_per('defaultstatusmsg', show, 'enabled'):
|
||||||
return gajim.config.get_per('defaultstatusmsg', show, 'message')
|
return gajim.config.get_per('defaultstatusmsg', show, 'message')
|
||||||
if (show == 'online' and not gajim.config.get('ask_online_status')) or \
|
if (show == 'online' and not gajim.config.get('ask_online_status')) or \
|
||||||
(show == 'offline' and not gajim.config.get('ask_offline_status')) or \
|
(show in ('offline', 'invisible')
|
||||||
show == 'invisible':
|
and not gajim.config.get('ask_offline_status')):
|
||||||
return ''
|
return ''
|
||||||
dlg = dialogs.ChangeStatusMessageDialog(show)
|
dlg = dialogs.ChangeStatusMessageDialog(show)
|
||||||
dlg.window.present() # show it on current workspace
|
dlg.window.present() # show it on current workspace
|
||||||
|
|
Loading…
Add table
Reference in a new issue