Skip to main content

Module pushers

Module pushers 

Source

Re-exportsΒ§

use axum::extract::State; πŸ”’
use futures::StreamExt; πŸ”’
use ruma::OwnedDeviceId; πŸ”’
use ruma::api::client::push::Pusher as RumaPusher; πŸ”’
use ruma::api::client::push::PusherKind; πŸ”’
use ruma::serde::JsonObject; πŸ”’
use synapse_admin_api::users::pushers::v1 as pushers; πŸ”’
use tuwunel_core::Result; πŸ”’
use tuwunel_core::utils::IterStream; πŸ”’
use tuwunel_core::utils::math::ruma_from_usize; πŸ”’
use tuwunel_core::utils::stream::WidebandExt; πŸ”’
use crate::Ruma; πŸ”’
use crate::require_admin; πŸ”’

FunctionsΒ§

admin_pusher πŸ”’
Projects a Matrix pusher into the Synapse admin pusher shape.
admin_pushers_route πŸ”’
GET /_synapse/admin/v1/users/{user_id}/pushers
split_kind πŸ”’
Recovers the kind string and data object from the pusher kind’s wire form.