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

despite this being very bad behavior, it is required by the spec
merge-requests/705/head
Matthias Ahouansou 2 weeks ago
parent 4b9520b5ad
commit 2f45a907f9
No known key found for this signature in database

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

Loading…
Cancel
Save