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
commit 83be800611
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -888,7 +888,7 @@ void
Server::Private::move_handler(const Command& cmd)
{
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 no_view{cmd.boolean_arg(":noupdate")};
const auto docids{determine_docids(store_, cmd)};