fix: ACL error shouldn't break the whole request

This commit is contained in:
Timo Kösters 2023-08-11 20:29:22 +02:00
parent 11103a92ed
commit f73a657a23
No known key found for this signature in database
GPG key ID: 0B25E636FBA7E4CB
2 changed files with 2 additions and 5 deletions

View file

@ -735,11 +735,6 @@ pub async fn send_transaction_message_route(
};
// We do not add the event_id field to the pdu here because of signature and hashes checks
services()
.rooms
.event_handler
.acl_check(sender_servername, &room_id)?;
let mutex = Arc::clone(
services()
.globals