Skip to main content

sender_is_guest

Function sender_is_guest 

Source
pub(crate) async fn sender_is_guest<T>(
    services: &Services,
    body: &Ruma<T>,
) -> bool
where T: Sync,
Expand description

Whether the sender of a request is a guest.

A request on an appservice’s own token is never a guest’s, whichever user it acts as.