mirror of
https://gitlab.com/famedly/conduit.git
synced 2024-11-30 05:02:31 +00:00
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:
parent
4b9520b5ad
commit
2f45a907f9
@ -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) {
|
if acl_event_content.is_allowed(server_name) {
|
||||||
Ok(())
|
Ok(())
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user