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:
parent
d5fa4fbcd2
commit
581a5c9d29
6 changed files with 7 additions and 7 deletions
|
@ -47,7 +47,7 @@ class ActivityPub::Activity::Create < ActivityPub::Activity
|
|||
text: text_from_content || '',
|
||||
language: detected_language,
|
||||
spoiler_text: @object['summary'] || '',
|
||||
created_at: @options[:override_timestamps] ? nil : @object['published'],
|
||||
created_at: @object['published'],
|
||||
reply: @object['inReplyTo'].present?,
|
||||
sensitive: @object['sensitive'] || false,
|
||||
visibility: visibility_from_audience,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue