Timeline filter "Show replies to my follows" does not include follows' self replies #256
Labels
No labels
approved, awaiting change
bug
configuration
documentation
duplicate
enhancement
extremely low priority
feature request
Fix it yourself
help wanted
invalid
mastodon_api
needs docs
needs tests
not a bug
planned
pleroma_api
privacy
question
static_fe
triage
wontfix
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: AkkomaGang/akkoma#256
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
i have narrowed down this issue to being due to the fact that when replying to yourself, you are not set as a recipiant. meanwhile recipients are checked for deciding if they are directed towards your following.
Now this makes sense, both parts, but they culminate in an issue where when replying to themselves, those replies are not included in timelines. the solution i propose is to check if the "in_reply_to_id" (not entirely sure how this is used in the code, which is why i haven't managed to work a solution by myself) is someone you follow.
Just wanted to +1 this, I had used Pleroma for almost all of 2021 and this has been a problem for awhile. A lot of people post in threads and come back hours or days later to reply again, and there's no way to see that unless you have all replies on (and that's honestly way too noisy).
This is a good guess, but not quite what’s happening. In the database the post author still shows up as a recipient and if it’s a pure self-reply the
to
field of the activity and object forCreate
types.only theHowever, since authors always are recipients of their posts, the query filter for follows-only visibility actually excludes them before checking if any of the remaining are followers.cc
field excludes the author.The exclusion leading to this exact bug is actually documented in the accompanying code comment for ~3 years; see
ee3052a2d8
(the bug existed before, but this commit documented it). As of pleroma@4c5b45ed Pleroma also has no fix for this yet we could cherry-pick.I have a crude fix (additionally check if post author is the only account-type recipient), but am not quite happy with how it hardcodes the non-account URIs to filter out yet (and the hardcoded values may not necessarily be portable). If someone can come up with a better approach or has an idea how to do this in a portable and efficient manner, they are more than welcome to take this over.Update: Nope, the assumptions going into the crude "fix" turned out to be flawed, so I don't have anything to offer unfortunately