Fix activation of mood/activity which was inverted
This commit is contained in:
parent
b8fe5893ae
commit
b042a07c69
1 changed files with 2 additions and 2 deletions
|
@ -2816,14 +2816,14 @@ class Core(object):
|
|||
shortdesc=_('Get the activity of someone.'),
|
||||
completion=self.completion_last_activity)
|
||||
|
||||
if config.get('enable_user_mood', True):
|
||||
if config.get('enable_user_activity', True):
|
||||
self.register_command('activity', self.command_activity,
|
||||
usage='[<general> [specific] [text]]',
|
||||
desc=_('Send your current activity to your contacts (use the completion).'
|
||||
' Nothing means "stop broadcasting an activity".'),
|
||||
shortdesc=_('Send your activity.'),
|
||||
completion=self.completion_activity)
|
||||
if config.get('enable_user_activity', True):
|
||||
if config.get('enable_user_mood', True):
|
||||
self.register_command('mood', self.command_mood,
|
||||
usage='[<mood> [text]]',
|
||||
desc=_('Send your current mood to your contacts (use the completion).'
|
||||
|
|
Loading…
Reference in a new issue