1
0
Fork 0
mirror of https://gitlab.com/famedly/conduit.git synced 2025-06-27 16:35:59 +00:00

431 errors left

This commit is contained in:
Timo Kösters 2022-10-05 09:34:25 +02:00
parent d6b32b6ffe
commit 79e7115b62
No known key found for this signature in database
GPG key ID: 356E705610F626D5
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(