mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-01 09:42:26 -05:00
[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"
This commit is contained in:
parent
83a4adbd95
commit
40f9eefc21
5 changed files with 31 additions and 10 deletions
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue