diff options
author | Claire <claire.github-309c@sitedethib.com> | 2022-04-27 08:48:21 +0200 |
---|---|---|
committer | Claire <claire.github-309c@sitedethib.com> | 2022-04-27 08:48:21 +0200 |
commit | fc1dd81ea50e3a12ce6a298103a94d2f5445d7d2 (patch) | |
tree | 43038bf3550f8f162495dfc8d9cc077ad1da4052 /app/lib/activitypub/activity | |
parent | a481af15a9b2a7829c2a849906aa4b475ccdbd98 (diff) | |
parent | bf75fba7942574f9b3b126084477693e9cc179c6 (diff) |
Merge branch 'main' into glitch-soc/merge-upstream
Conflicts: - `package.json`: Not a real conflict, upstream dependency updated textually too close to a glitch-soc-only dependency. Updated the upstream dependency.
Diffstat (limited to 'app/lib/activitypub/activity')
-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 1ac509f18..09fe08d45 100644 --- a/app/lib/activitypub/activity/create.rb +++ b/app/lib/activitypub/activity/create.rb @@ -117,7 +117,7 @@ class ActivityPub::Activity::Create < ActivityPub::Activity language: @status_parser.language, spoiler_text: converted_object_type? ? '' : (@status_parser.spoiler_text || ''), created_at: @status_parser.created_at, - edited_at: @status_parser.edited_at, + edited_at: @status_parser.edited_at && @status_parser.edited_at != @status_parser.created_at ? @status_parser.edited_at : nil, override_timestamps: @options[:override_timestamps], reply: @status_parser.reply, sensitive: @account.sensitized? || @status_parser.sensitive || false, |