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:
@ -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,
|
||||
|
Reference in New Issue
Block a user