about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2017-01-11 15:39:31 +0100
committerEugen Rochko <eugen@zeonfederated.com>2017-01-11 15:39:31 +0100
commit7951e7ffd5cf5932f7206b52cd85f602abd9b25d (patch)
tree730a967286ec9f14e8ac583d359dc3357720a3fd /app
parent10739df458a225a88f6301e6cd819ec3a533255d (diff)
Add ruby version to Gemfile, move devDependencies in package.json to dependencies,
fix bug in process feed service
Diffstat (limited to 'app')
-rw-r--r--app/services/process_feed_service.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/services/process_feed_service.rb b/app/services/process_feed_service.rb
index 3860a3504..f085fcd8e 100644
--- a/app/services/process_feed_service.rb
+++ b/app/services/process_feed_service.rb
@@ -56,6 +56,8 @@ class ProcessFeedService < BaseService
         end
       end
 
+      return if status.nil?
+
       status.save!
 
       NotifyService.new.call(status.reblog.account, status) if status.reblog? && status.reblog.account.local?