]> cat aescling's git repositories - mastodon.git/commit
Fix PeerTube videos appearing with an erroneous “Edited at” marker (#18100)
authorClaire <claire.github-309c@sitedethib.com>
Tue, 26 Apr 2022 19:25:26 +0000 (21:25 +0200)
committersingle-right-quote <11325618-aescling@users.noreply.gitlab.com>
Thu, 5 May 2022 03:56:01 +0000 (23:56 -0400)
commit5004cafdcba934fd37e346e278db583ea7867ec8
tree8e69c4f5eae0851107dd330bc3696e34968963c2
parenta4f40dcf4e28e7466e1996c154ffaa8de667c99e
Fix PeerTube videos appearing with an erroneous “Edited at” marker (#18100)

* Fix PeerTube videos appearing with an erroneous “Edited at” marker

PeerTube videos have an `updated` field equal to `published`.
When processing an incoming activity that has the same value for `updated` and
`published`, assume this doesn't represent an actual edit.

* Please CodeClimate
app/lib/activitypub/activity/create.rb
spec/lib/activitypub/activity/create_spec.rb