takahe/activities/models
Osma Ahvenlampi 5549d21528
Fix inbox processing errors from pinned posts and non-Mastodon servers (#596)
If a post (interaction) comes in from AP inbox but no local author profile exists,
fetch_actor will pull in both the identity AND its pinned posts, which the incoming
post might have been. This would case a database integrity violation. We check
for post existing again after syncing the actor.

Post processing also barfed on posts where content didn't follow Mastodon specs.
For example, Kbin sets tag names in 'tag' attribute, instead of 'name' attribute.
2023-07-12 09:49:30 -06:00
..
__init__.py Basic Emoji suppport (#157) 2022-12-15 00:50:54 -07:00
emoji.py Rework Stator to use a next field and no async 2023-07-07 15:14:06 -06:00
fan_out.py Rework Stator to use a next field and no async 2023-07-07 15:14:06 -06:00
hashtag.py Syncify another handler 2023-07-09 00:43:16 -06:00
post.py Fix inbox processing errors from pinned posts and non-Mastodon servers (#596) 2023-07-12 09:49:30 -06:00
post_attachment.py Don't even try to progress post attachments 2023-05-15 16:59:52 -06:00
post_interaction.py Fix inbox processing errors from pinned posts and non-Mastodon servers (#596) 2023-07-12 09:49:30 -06:00
post_types.py Always return voters_count (#543) 2023-03-15 18:46:12 -06:00
timeline_event.py Add support to dismiss notifications (#605) 2023-07-11 16:37:03 -06:00