mirror of
https://github.com/matrix-construct/construct
synced 2024-12-26 07:23:53 +01:00
modules/m_room_redaction: Query for sender match rather than event hostpart.
This commit is contained in:
parent
52fd0d1b2e
commit
557c8a3c86
1 changed files with 1 additions and 1 deletions
|
@ -104,7 +104,7 @@ ircd::m::auth_room_redaction(const m::event &event,
|
|||
}
|
||||
};
|
||||
|
||||
if(m::query(std::nothrow, redact_target_idx, "redacts", sender_domain_match))
|
||||
if(m::query(std::nothrow, redact_target_idx, "sender", sender_domain_match))
|
||||
{
|
||||
data.allow = true;
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue