logo

mastofe

My custom branche(s) on git.pleroma.social/pleroma/mastofe
commit: 57f7cf834921d49f28f346571e0e6fb596ccd6f8
parent: eb62778bec35e99eeadda1c77029142306ef1083
Author: Eugen Rochko <eugen@zeonfederated.com>
Date:   Thu, 26 Jan 2017 03:56:26 +0100

Follow request authorizations faster

Diffstat:

Mapp/models/follow_request.rb2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app/models/follow_request.rb b/app/models/follow_request.rb @@ -13,7 +13,7 @@ class FollowRequest < ApplicationRecord def authorize! account.follow!(target_account) - FeedManager.instance.merge_into_timeline(target_account, account) + MergeWorker.perform_async(target_account.id, account.id) destroy! end