diff --git a/app/lib/activitypub/activity/create.rb b/app/lib/activitypub/activity/create.rb index de9c47d5..77d66fba 100644 --- a/app/lib/activitypub/activity/create.rb +++ b/app/lib/activitypub/activity/create.rb @@ -32,7 +32,7 @@ class ActivityPub::Activity::Create < ActivityPub::Activity def status_params { uri: @object['id'], - url: @object['url'], + url: @object['url'] || @object['id'], account: @account, text: text_from_content || '', language: language_from_content,