-
-
Notifications
You must be signed in to change notification settings - Fork 7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add setting to not aggregate reblogs #9248
Add setting to not aggregate reblogs #9248
Conversation
2be5f2b
to
340075e
Compare
timeline_key = key(timeline_type, account_id) | ||
reblog_key = key(timeline_type, account_id, 'reblogs') | ||
|
||
if status.reblog? | ||
if status.reblog? && (aggregate_reblogs.nil? || aggregate_reblogs) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a bit awkward, but basically none of the tests pass an actual local account (with an associated User
) to those functions, so…
@Gargron any opinion on this? |
I am looking forward to merge! |
FYI: I'm using this PR on top of |
340075e
to
9c682f9
Compare
I often see the actions which are boost and mention. But boosted toot is not visible in my home timeline and only mentioning is visible. Otherwise, behavior remains as it is unless actively opt-outed, I like it. |
24a66d5
to
09ab9d1
Compare
09ab9d1
to
3ac4f12
Compare
thank you! thank you for merging!! |
* Add setting to not aggregate reblogs Fixes mastodon#9222 * Handle cases where user is nil in add_to_home and add_to_list * Add hint for setting_aggregate_reblogs option * Reword setting_aggregate_reblogs label
Fixes #9222