Skip to content
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

Toot a limited number of old toots when first creating an account for a feed. #57

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

chungyc
Copy link

@chungyc chungyc commented Nov 21, 2024

Instead of ignoring all existing feed items, toots a small number of feed items so that the activity stream does not start out completely empty.

  • If I understand the code correctly, the last updated time will be the year 1900 for accounts that have just been created and before its feed is updated, so the old feed items will be included during updateAccountPosts on account creation.

  • I am assuming that the reason old feed items were not tooted was to prevent something like a thousand toots from being sent at the same time for a large feed. So if we are going to toot the most recent feed item, why not a bit more so it feels even less empty? Let me know if my understanding is wrong so I can update the comments and restrict the number to one.

  • A few parameters are now only ever true for some functions, so remove them to simplify things.

Resolves #41.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Send a toot with the last feed entry immediately after following a feed
1 participant