Print relevant room ID and ACL'd server in informational level
These are room ACLs, not server ACLs. Causes confusion where people think their Conduit homeserver was ACL'd. Print where these are coming from in informational level. Signed-off-by: girlbossceo <june@girlboss.ceo>
This commit is contained in:
parent
1f867a2c86
commit
a0148a9996
1 changed files with 5 additions and 1 deletions
|
@ -1526,9 +1526,13 @@ impl Service {
|
|||
if acl_event_content.is_allowed(server_name) {
|
||||
Ok(())
|
||||
} else {
|
||||
info!(
|
||||
"Server {} was denied by room ACL in {}",
|
||||
server_name, room_id
|
||||
);
|
||||
Err(Error::BadRequest(
|
||||
ErrorKind::Forbidden,
|
||||
"Server was denied by ACL",
|
||||
"Server was denied by room ACL",
|
||||
))
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue