chore: Cleanup

This commit is contained in:
Ginger
2026-03-03 13:35:58 -05:00
parent ffa3c53847
commit 8b726a9c94
4 changed files with 6 additions and 10 deletions
+2 -3
View File
@@ -1,8 +1,7 @@
use askama::{Template, filters::HtmlSafe};
use base64::Engine;
use conduwuit_core::{Result, result::FlatOk, utils::TryFutureExtExt};
use conduwuit_core::result::FlatOk;
use conduwuit_service::Services;
use futures::TryFutureExt;
use ruma::UserId;
pub(super) mod form;
@@ -32,7 +31,7 @@ pub(super) struct UserCard<'a> {
impl HtmlSafe for UserCard<'_> {}
impl<'a> UserCard<'a> {
pub async fn for_local_user(services: &Services, user_id: &'a UserId) -> Self {
pub(super) async fn for_local_user(services: &Services, user_id: &'a UserId) -> Self {
let display_name = services.users.displayname(user_id).await.ok();
let avatar_src = async {