fix: don't ignore ACLs when there is no content

despite this being very bad behavior, it is required by the spec
This commit is contained in:
Matthias Ahouansou 2024-06-26 22:05:44 +01:00
parent 4b9520b5ad
commit 2f45a907f9
No known key found for this signature in database

View File

@ -1687,11 +1687,6 @@ impl Service {
}
};
if acl_event_content.allow.is_empty() {
// Ignore broken acl events
return Ok(());
}
if acl_event_content.is_allowed(server_name) {
Ok(())
} else {