ok
Some checks are pending
/ test-build-and-push (push) Waiting to run

This commit is contained in:
notfire 2025-03-30 18:43:12 -04:00
parent d7c965319d
commit 1bd6b9c6cb
Signed by: notfire
GPG key ID: 3AFDACAAB4E56B16

View file

@ -1,7 +1,6 @@
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema; using System.ComponentModel.DataAnnotations.Schema;
using EntityFrameworkCore.Projectables; using EntityFrameworkCore.Projectables;
using Iceshrimp.Backend.Controllers.Pleroma.Schemas.Entities;
using Iceshrimp.Backend.Core.Configuration; using Iceshrimp.Backend.Core.Configuration;
using Iceshrimp.Backend.Core.Helpers; using Iceshrimp.Backend.Core.Helpers;
using Iceshrimp.Shared.Helpers; using Iceshrimp.Shared.Helpers;
@ -628,7 +627,6 @@ public class User : IIdentifiable
: throw new Exception("Cannot access PublicUrl for remote user"); : throw new Exception("Cannot access PublicUrl for remote user");
[Projectable] public string PublicUrlPath => $"/@{Username}"; [Projectable] public string PublicUrlPath => $"/@{Username}";
public PleromaUserExtensions? Pleroma { get; set; }
public string GetIdenticonUrl(string webDomain) => $"https://{webDomain}{IdenticonUrlPath}"; public string GetIdenticonUrl(string webDomain) => $"https://{webDomain}{IdenticonUrlPath}";