parent
d7c965319d
commit
1bd6b9c6cb
1 changed files with 0 additions and 2 deletions
|
@ -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}";
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue