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

Refactored Mastodonbee a bit #285

Merged
merged 2 commits into from
Oct 3, 2020
Merged

Refactored Mastodonbee a bit #285

merged 2 commits into from
Oct 3, 2020

Conversation

penguwin
Copy link
Collaborator

@penguwin penguwin commented Feb 21, 2020

I refactored the MastodonBee a bit.

  • renamed mastodonBee/Factory to MastodonBee/Factory as starting with an uppercase letter is more consistent with the naming scheme of other hives/bees.
  • Add timestamps in the toot_fetched-Event. This resolves Delete action for Mastodon #247 as we can already delete toots by ID.

I also created a gist with a skeleton for Mastodon&IRC interaction. You'd just need to fill in the credentials and the desired IRC channel.

@penguwin penguwin added the hive label Feb 21, 2020
This is more consistent with the naming scheme for other bees and factories in
beehive.
Now the toot_fetched event also returns a timestamp of the toot.
As we can already delete toots by ID this change can be used for more complex
chains with mastodon. E.g. Automatically remove toots from your timeline after X
days.
This resolves muesli#247
@penguwin
Copy link
Collaborator Author

penguwin commented Oct 3, 2020

I've removed the usage of createEvent() (#284) from this pr - therefore this is ready for review now.

@muesli muesli merged commit 57f0b31 into muesli:master Oct 3, 2020
@penguwin penguwin deleted the mastodonbee branch October 3, 2020 23:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Delete action for Mastodon
2 participants