diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2016-10-02 23:46:25 +0200 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2016-10-02 23:46:25 +0200 |
commit | d74da1a89aef27ed78eb521a86b6412ef00acd0f (patch) | |
tree | e22c109e05709bb5c5497489f969b96be3118f24 /app | |
parent | f06f295890bd8f29607599ad13b9a3f8d6e05381 (diff) |
Small fixes
Diffstat (limited to 'app')
-rw-r--r-- | app/services/process_feed_service.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/app/services/process_feed_service.rb b/app/services/process_feed_service.rb index fdf59b41c..1ea79835b 100644 --- a/app/services/process_feed_service.rb +++ b/app/services/process_feed_service.rb @@ -153,9 +153,8 @@ class ProcessFeedService < BaseService 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)) - status.save - if status.saved? && status.thread.nil? && !thread_href(xml).nil? + if status.save && status.thread.nil? && !thread_href(xml).nil? ThreadResolveWorker.perform_async(status.id, thread_href(xml)) end |