From 40f9eefc2153ee8811abb750e07064c4f98f549c Mon Sep 17 00:00:00 2001 From: tobi <31960611+tsmethurst@users.noreply.github.com> Date: Sun, 18 Feb 2024 10:49:40 +0100 Subject: [bugfix] Fix dereferencing ancestors on new status create (#2652) * [bugfix] Pass `latest` to dereferenceThread instead of barebones status * only mark status orphaned if visibility suggests parent is really deleted * tone down "not deref'd" warnings, since they represent a legit visibility situation * remove FAQ entry for "status not deref'd yet" --- internal/visibility/home_timeline.go | 2 +- internal/visibility/public_timeline.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'internal/visibility') diff --git a/internal/visibility/home_timeline.go b/internal/visibility/home_timeline.go index 3cecbb5de..0a3fbde4e 100644 --- a/internal/visibility/home_timeline.go +++ b/internal/visibility/home_timeline.go @@ -156,7 +156,7 @@ func (f *Filter) isStatusHomeTimelineable(ctx context.Context, owner *gtsmodel.A // Check parent is deref'd. if next.InReplyToID == "" { - log.Warnf(ctx, "status not yet deref'd: %s", next.InReplyToURI) + log.Debugf(ctx, "status not (yet) deref'd: %s", next.InReplyToURI) return false, cache.SentinelError } diff --git a/internal/visibility/public_timeline.go b/internal/visibility/public_timeline.go index b2c05d51f..bad7cf991 100644 --- a/internal/visibility/public_timeline.go +++ b/internal/visibility/public_timeline.go @@ -95,7 +95,7 @@ func (f *Filter) isStatusPublicTimelineable(ctx context.Context, requester *gtsm // Fetch next parent to lookup. parentID := parent.InReplyToID if parentID == "" { - log.Warnf(ctx, "status not yet deref'd: %s", parent.InReplyToURI) + log.Debugf(ctx, "status not (yet) deref'd: %s", parent.InReplyToURI) return false, cache.SentinelError } -- cgit v1.3