fix: Build error

This commit is contained in:
timedout 2025-12-31 21:04:06 +00:00
parent 7be20abcad
commit 9d9d1170b6
No known key found for this signature in database
GPG key ID: 0FA334385D0B689F

View file

@ -406,7 +406,7 @@ impl Service {
/// Checks whether a given user is an admin of this server
pub async fn user_is_admin(&self, user_id: &UserId) -> bool {
if self.services.server.config.admins_list.contains(user_id) {
if self.services.server.config.admins_list.contains(&user_id.to_owned()) {
return true;
}