Merge pull request #2423 from derek-zhou/master

really allow flags to be empty in move command
This commit is contained in:
Dirk-Jan C. Binnema
2023-01-26 22:56:07 +02:00
committed by GitHub

View File

@ -888,7 +888,7 @@ void
Server::Private::move_handler(const Command& cmd) Server::Private::move_handler(const Command& cmd)
{ {
auto maildir{cmd.string_arg(":maildir").value_or("")}; auto maildir{cmd.string_arg(":maildir").value_or("")};
const auto flagopt{cmd.string_arg(":flags").value_or("")}; const auto flagopt{cmd.string_arg(":flags")};
const auto rename{cmd.boolean_arg(":rename")}; const auto rename{cmd.boolean_arg(":rename")};
const auto no_view{cmd.boolean_arg(":noupdate")}; const auto no_view{cmd.boolean_arg(":noupdate")};
const auto docids{determine_docids(store_, cmd)}; const auto docids{determine_docids(store_, cmd)};