0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-30 02:32:43 +01:00

ircd:Ⓜ️:event::append: Fix exclusion of redacts property.

This commit is contained in:
Jason Volk 2019-09-15 15:05:06 -07:00
parent ea33e0326e
commit ec22842c63

View file

@ -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