server: 'sent' does not use 'maildir' anymore

So don't require it.
This commit is contained in:
Dirk-Jan C. Binnema 2020-02-09 15:07:22 +02:00
parent 00df8ce471
commit 451309697d
1 changed files with 1 additions and 3 deletions

View File

@ -1253,9 +1253,7 @@ make_command_map (Context& context)
cmap.emplace("sent", cmap.emplace("sent",
CommandInfo{ CommandInfo{
ArgMap{ {"path", ArgInfo{Type::String, true, ArgMap{ {"path", ArgInfo{Type::String, true,
"path to the message file" }}, "path to the message file" }}
{"maildir", ArgInfo{Type::String, true,
"maildir the messages resides under" }}
}, },
"tell mu about a message that was sent", "tell mu about a message that was sent",
[&](const auto& params){sent_handler(context, params);}}); [&](const auto& params){sent_handler(context, params);}});