pub(crate) async fn sender_is_guest<T>(
services: &Services,
body: &Ruma<T>,
) -> boolwhere
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.