From 7f4a0a1aeb8a294ee967c63d7a48446df013ec44 Mon Sep 17 00:00:00 2001 From: tobi <31960611+tsmethurst@users.noreply.github.com> Date: Fri, 22 Mar 2024 14:03:46 +0100 Subject: [chore] Move local account settings to separate db table (#2770) * [chore] Move local account settings to separate database model * don't use separate settings_id --- internal/typeutils/astointernal.go | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'internal/typeutils/astointernal.go') diff --git a/internal/typeutils/astointernal.go b/internal/typeutils/astointernal.go index b262030de..b5e713554 100644 --- a/internal/typeutils/astointernal.go +++ b/internal/typeutils/astointernal.go @@ -130,13 +130,8 @@ func (c *Converter) ASRepresentationToAccount(ctx context.Context, accountable a // Extract account note (bio / summary). acct.Note = ap.ExtractSummary(accountable) - // Assume: - // - memorial (TODO) - // - sensitive (TODO) - // - hide collections (TODO) + // Assume not memorial (todo) acct.Memorial = util.Ptr(false) - acct.Sensitive = util.Ptr(false) - acct.HideCollections = util.Ptr(false) // Extract 'manuallyApprovesFollowers' aka locked account (default = true). manuallyApprovesFollowers := ap.GetManuallyApprovesFollowers(accountable) @@ -146,9 +141,6 @@ func (c *Converter) ASRepresentationToAccount(ctx context.Context, accountable a discoverable := ap.GetDiscoverable(accountable) acct.Discoverable = &discoverable - // Assume not an RSS feed. - acct.EnableRSS = util.Ptr(false) - // Extract the URL property. urls := ap.GetURL(accountable) if len(urls) == 0 { -- cgit v1.2.3