431 errors left

This commit is contained in:
Timo Kösters
2022-10-05 09:34:25 +02:00
committed by Nyaaori
parent bd8b616ca0
commit 8708cd3b63
32 changed files with 640 additions and 973 deletions

View File

@@ -14,7 +14,7 @@ pub async fn report_event_route(
) -> Result<report_content::v3::Response> {
let sender_user = body.sender_user.as_ref().expect("user is authenticated");
let pdu = match services().rooms.get_pdu(&body.event_id)? {
let pdu = match services().rooms.timeline.get_pdu(&body.event_id)? {
Some(pdu) => pdu,
_ => {
return Err(Error::BadRequest(