logo

mastofe

My custom branche(s) on git.pleroma.social/pleroma/mastofe
commit: cfba03bd277c4be8a32484d28b785a3c4107f808
parent: 81065bc06c544bd78eb9cce9cfbdba57638af005
Author: Eugen Rochko <eugen@zeonfederated.com>
Date:   Mon, 10 Oct 2016 16:49:05 +0200

Don't return unsaved status from ProcessFeedService

Diffstat:

Mapp/services/process_feed_service.rb3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/app/services/process_feed_service.rb b/app/services/process_feed_service.rb @@ -48,9 +48,8 @@ class ProcessFeedService < BaseService process_attachments(entry.xpath('./activity:object'), status.reblog) if status.reblog? DistributionWorker.perform_async(status.id) + return status end - - return status end def record_remote_mentions(status, links)