mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-05-26 20:49:55 +00:00
chore: Formatting
This commit is contained in:
@@ -407,7 +407,7 @@ impl Service {
|
|||||||
/// Checks whether a given user is an admin of this server
|
/// Checks whether a given user is an admin of this server
|
||||||
pub async fn user_is_admin(&self, user_id: &UserId) -> bool {
|
pub async fn user_is_admin(&self, user_id: &UserId) -> bool {
|
||||||
if self.services.globals.server_user == user_id {
|
if self.services.globals.server_user == user_id {
|
||||||
return true
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if self
|
if self
|
||||||
|
|||||||
Reference in New Issue
Block a user