Commit 2744234d authored by mathieui's avatar mathieui
Browse files

Move /clear_infos to /clear for consistency

parent 2730d8a2
......@@ -286,6 +286,11 @@ MultiUserChat tab commands
.. glossary::
/clear [RosterTab version]
**Usage:** ``/clear``
Clear the information buffer. (was /clear_infos)
**Usage:** ``/ignore <nickname>``
......@@ -2206,7 +2206,7 @@ class RosterInfoTab(Tab):
desc=_('Import your contacts from /path/to/file if specified, or $HOME/poezio_contacts if not.'),
shortdesc=_('Import your roster from a file.'),
self.register_command('clear_infos', self.command_clear_infos,
self.register_command('clear', self.command_clear,
shortdesc=_('Clear the info buffer.'))
self.register_command('last_activity', self.command_last_activity,
......@@ -2394,9 +2394,9 @@ class RosterInfoTab(Tab):
return the_input.auto_completion(end_list, '')
def command_clear_infos(self, arg):
def command_clear(self, arg=''):
self.core.information_buffer.messages = []
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment