diff --git a/app/Jobs/ImportPipeline/ImportInstagram.php b/app/Jobs/ImportPipeline/ImportInstagram.php index 57b1b5fce..c6cbd9d93 100644 --- a/app/Jobs/ImportPipeline/ImportInstagram.php +++ b/app/Jobs/ImportPipeline/ImportInstagram.php @@ -88,7 +88,7 @@ class ImportInstagram implements ShouldQueue $status->profile_id = $profile->id; $status->caption = strip_tags($caption); $status->is_nsfw = false; - $status->visibility = 'public'; + $status->visibility = 'unlisted'; $status->created_at = $taken_at; $status->save(); diff --git a/app/Jobs/StatusPipeline/StatusActivityPubDeliver.php b/app/Jobs/StatusPipeline/StatusActivityPubDeliver.php index 9f75db0b1..06f22a85d 100644 --- a/app/Jobs/StatusPipeline/StatusActivityPubDeliver.php +++ b/app/Jobs/StatusPipeline/StatusActivityPubDeliver.php @@ -56,7 +56,7 @@ class StatusActivityPubDeliver implements ShouldQueue $audience = $status->profile->getAudienceInbox(); - if(empty($audience)) { + if(empty($audience) || $status->visibility != 'public') { // Return on profiles with no remote followers return; } diff --git a/resources/views/settings/import/home.blade.php b/resources/views/settings/import/home.blade.php index b0765e539..9f84f2115 100644 --- a/resources/views/settings/import/home.blade.php +++ b/resources/views/settings/import/home.blade.php @@ -8,7 +8,8 @@
Account Import allows you to import your data from a supported service.
-Importing from another service will not impact existing data by default however you may choose to update avatar, bio or nickname fields during the process.
+Warning: This is an experimental beta feature. Use at your own risk!
+Warning: Imported posts will not appear on timelines or be delivered to followers.
Supported Services
@@ -21,10 +22,7 @@ Import from Mastodon -Step 1
+Before you proceed, you need to have a backup of your account from Instagram, you can do that here.
+Import photos directory
+250mb limit, if your photos directory exceeds that amount, you will have to wait until we support larger imports.
+Step 3
+Found {{$job->files->count()}} posts to import
+ +Step 2
+Import media.json file
+10mb limit, please only upload the media.json file
+