Commit a0d8e1ce authored by Madhur Garg's avatar Madhur Garg

Corrected description of /mam command

parent 772cec28
......@@ -503,8 +503,8 @@ class ChatTab(Tab):
self.register_command(
'mam',
self.command_mam,
usage="[start_timestamp] [end_timestamp]",
shortdesc='Query and control an archive of messages using MAM.')
usage="[start_timestamp [end_timestamp]]",
shortdesc='Query an archive of messages using MAM.')
self.commands['sb'] = self.commands['scrollback']
self.register_command(
'xhtml',
......@@ -927,9 +927,8 @@ class ChatTab(Tab):
@command_args_parser.quoted(0, 2)
def command_mam(self, args):
"""
/mam
/mam [start-timestamp] (current timestamp is taken as end-timestamp)
/mam [start-timestamp] [end-timestamp]
Query an archive of messages using MAM.
/mam [start_timestamp [end_timestamp]]
"""
remote_jid = self.jid
......
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