]> cat aescling's git repositories - mastodon.git/commit
Add Event activity-type support (#12637)
authorThomas Citharel <tcit@tcit.fr>
Mon, 16 Dec 2019 22:55:28 +0000 (23:55 +0100)
committerEugen Rochko <eugen@zeonfederated.com>
Mon, 16 Dec 2019 22:55:28 +0000 (23:55 +0100)
commit8094955461419661b88a0361a5d7caed4b19c29a
tree0e7a988fe2847e23a7cc0f7384b823eb9b5c9919
parent34aa5c7cb2090bf9d995eafdfbf5f9bd01336491
Add Event activity-type support (#12637)

This adds support for Event AP type in Mastodon. Events are converted
into toots by taking their title (AS name) and their URL (AP ID). Event
picture is also brought in if available.

Testable by fetching event content from https://test.mobilizon.org

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
app/lib/activitypub/activity.rb
spec/services/activitypub/fetch_remote_status_service_spec.rb