mirror of
https://github.com/matrix-construct/construct
synced 2024-11-26 08:42:34 +01: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]
|
||||
(const auto &key, const auto &val_)
|
||||
{
|
||||
if(!keys.has(key))
|
||||
if(!keys.has(key) && key != "redacts"_sv)
|
||||
return true;
|
||||
|
||||
const json::value val
|
||||
|
|
Loading…
Reference in a new issue