Skip to main content

update_delayed_event_route

Function update_delayed_event_route 

Source
pub(crate) async fn update_delayed_event_route(
    __arg0: State<State>,
    path: MatchedPath,
    body: Ruma<Request>,
) -> Result<Response>
Expand description

ยงPOST /_matrix/client/unstable/org.matrix.msc4140/delayed_events/{delayId}/{action}

Restarts, cancels or sends a scheduled event (MSC4140).

On the unstable path the access token may be omitted, since the delay_id alone is hard to guess and delegated callers such as lk-jwt-service hold no token. The stable path requires one.