Update parameter replacements for Pleroma 2.0.0.
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
tastytea 2020-03-12 11:40:11 +01:00
parent 854d2f67af
commit 00056c224e
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07

View File

@ -355,8 +355,9 @@ bool CURLWrapper::replace_parameter_in_uri(string &uri,
{
static constexpr array replace
{
"id", "nickname", "nickname_or_id", "account_id",
"list_id", "hashtag", "permission_group"
"id", "nickname", "nickname_or_id", "account_id", "list_id",
"hashtag", "permission_group", "instance", "report_id", "name",
"emoji"
};
if (any_of(replace.begin(), replace.end(),
[&parameter](const auto &s) { return s == parameter.first; }))