mirror of
https://gitlab.com/famedly/conduit.git
synced 2024-12-26 20:43:48 +03:00
Merge branch 'acl-dont-have-empty-exception' into 'next'
fix: don't ignore ACLs when there is no content See merge request famedly/conduit!705
This commit is contained in:
commit
7a4d0f6fe8
1 changed files with 0 additions and 5 deletions
|
@ -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…
Reference in a new issue