mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-11-14 04:37:00 +00:00
1 parent
7e50db4193
commit
2f85a5c1ac
36 files changed
+327
-336
No files matched your search
@@ -28,7 +28,7 @@ pub(crate) async fn create_leave_event_v1_route(
|
||||
) -> Result<create_leave_event::v1::Response> {
|
||||
let origin = body.origin.as_ref().expect("server is authenticated");
|
||||
|
||||
create_leave_event(services, origin, &body.room_id, &body.pdu).await?;
|
||||
create_leave_event(&services, origin, &body.room_id, &body.pdu).await?;
|
||||
|
||||
Ok(create_leave_event::v1::Response::new())
|
||||
}
|
||||
@@ -41,7 +41,7 @@ pub(crate) async fn create_leave_event_v2_route(
|
||||
) -> Result<create_leave_event::v2::Response> {
|
||||
let origin = body.origin.as_ref().expect("server is authenticated");
|
||||
|
||||
create_leave_event(services, origin, &body.room_id, &body.pdu).await?;
|
||||
create_leave_event(&services, origin, &body.room_id, &body.pdu).await?;
|
||||
|
||||
Ok(create_leave_event::v2::Response::new())
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user