Skip to main content

tuwunel_admin/query/pusher/
get_pushers.rs

1use ruma::OwnedUserId;
2use tuwunel_core::Result;
3
4use crate::admin_command;
5
6#[admin_command]
7pub(super) async fn get_pushers(&self, user_id: OwnedUserId) -> Result {
8	self.write_timed_query(self.services.pusher.get_pushers(&user_id))
9		.await
10}