diff options
Diffstat (limited to 'app/services')
-rw-r--r-- | app/services/process_feed_service.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/services/process_feed_service.rb b/app/services/process_feed_service.rb index e0b857482..5fde19547 100644 --- a/app/services/process_feed_service.rb +++ b/app/services/process_feed_service.rb @@ -129,7 +129,8 @@ class ProcessFeedService < BaseService account = follow_remote_account_service.("#{username}@#{domain}", false) end - Status.new(account: account, uri: target_id(xml), text: target_content(xml), url: target_url(xml)) + status = Status.new(account: account, uri: target_id(xml), text: target_content(xml), url: target_url(xml), created_at: published(xml), updated_at: updated(xml)) + status.thread = find_original_status(xml, thread_id(xml)) rescue Goldfinger::Error, HTTP::Error nil end |