Fixes/do not override timestamps (#7331)

* Do not override timestamps for incoming toots

* Remove every reference to override_timestamps

Statuses are now created with the announced publishing date
and are only pushed to timelines if that date is at most
6 hours earlier than the time at which it is processed.
This commit is contained in:
ThibG
2018-05-03 13:33:08 +02:00
committed by Eugen Rochko
parent d5fa4fbcd2
commit 581a5c9d29
6 changed files with 7 additions and 7 deletions

View File

@ -15,7 +15,7 @@ class ActivityPub::Activity::Announce < ActivityPub::Activity
account: @account,
reblog: original_status,
uri: @json['id'],
created_at: @options[:override_timestamps] ? nil : @json['published'],
created_at: @json['published'],
visibility: original_status.visibility
)