diff options
author | ThibG <thib@sitedethib.com> | 2019-03-07 13:45:43 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-07 13:45:43 +0100 |
commit | 38e9c66f34d7054357a3de63834f182734d43d75 (patch) | |
tree | 0f46795c03e883893ce01170a969f51189505d32 /app/lib | |
parent | 84c807a0dcdfd6c3c18ee37fcb5003a92a92ce3f (diff) | |
parent | 9c5e7805ccfc9b065aba7831f912287e02aeb1bb (diff) |
Merge pull request #944 from ThibG/glitch-soc/merge-upstream
Merge upstream changes
Diffstat (limited to 'app/lib')
-rw-r--r-- | app/lib/activitypub/activity/create.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/lib/activitypub/activity/create.rb b/app/lib/activitypub/activity/create.rb index 07ef16bf3..87179030c 100644 --- a/app/lib/activitypub/activity/create.rb +++ b/app/lib/activitypub/activity/create.rb @@ -253,7 +253,7 @@ class ActivityPub::Activity::Create < ActivityPub::Activity collection = @object['replies'] return if collection.nil? replies = ActivityPub::FetchRepliesService.new.call(status, collection, false) - return if replies.present? + return unless replies.nil? uri = value_or_id(collection) ActivityPub::FetchRepliesWorker.perform_async(status.id, uri) unless uri.nil? end |