mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-01 13:52:26 -05:00
[bugfix] Fix single author threads not appearing in home timeline (#1679)
This commit is contained in:
parent
fb41d2d48f
commit
f28ed21343
2 changed files with 50 additions and 2 deletions
|
|
@ -98,7 +98,7 @@ func (f *Filter) isStatusHomeTimelineable(ctx context.Context, owner *gtsmodel.A
|
|||
|
||||
var (
|
||||
next *gtsmodel.Status
|
||||
oneAuthor bool
|
||||
oneAuthor = true // Assume one author until proven otherwise.
|
||||
included bool
|
||||
converstn bool
|
||||
)
|
||||
|
|
@ -149,7 +149,7 @@ func (f *Filter) isStatusHomeTimelineable(ctx context.Context, owner *gtsmodel.A
|
|||
}
|
||||
|
||||
if oneAuthor {
|
||||
// Check if this is a single-author status thread.
|
||||
// Check if this continues to be a single-author thread.
|
||||
oneAuthor = (next.AccountID == status.AccountID)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue