mirror of
https://github.com/matrix-construct/construct
synced 2024-09-26 18:38:52 +02:00
ircd:Ⓜ️:event::append: Fix exclusion of redacts property.
This commit is contained in:
parent
ea33e0326e
commit
ec22842c63
1 changed files with 1 additions and 1 deletions
|
@ -181,7 +181,7 @@ ircd::m::event::append::append(json::stack::object &object,
|
||||||
for_each(event, [&keys, &object]
|
for_each(event, [&keys, &object]
|
||||||
(const auto &key, const auto &val_)
|
(const auto &key, const auto &val_)
|
||||||
{
|
{
|
||||||
if(!keys.has(key))
|
if(!keys.has(key) && key != "redacts"_sv)
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
const json::value val
|
const json::value val
|
||||||
|
|
Loading…
Reference in a new issue