diff options
| author | 2024-02-18 10:49:40 +0100 | |
|---|---|---|
| committer | 2024-02-18 09:49:40 +0000 | |
| commit | 40f9eefc2153ee8811abb750e07064c4f98f549c (patch) | |
| tree | bc0c26490dea9442025a43833b2c56a831f83ba4 /internal/visibility | |
| parent | [chore] Disable Move API endpoints for now until Move is fully implemented in... (diff) | |
| download | gotosocial-40f9eefc2153ee8811abb750e07064c4f98f549c.tar.xz | |
[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"
Diffstat (limited to 'internal/visibility')
| -rw-r--r-- | internal/visibility/home_timeline.go | 2 | ||||
| -rw-r--r-- | internal/visibility/public_timeline.go | 2 | 
2 files changed, 2 insertions, 2 deletions
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  		}  | 
