1
0
mirror of https://github.com/mastodon/mastodon synced 2024-12-01 08:18:22 +09:00

Follow request authorizations faster

This commit is contained in:
Eugen Rochko 2017-01-26 03:56:26 +01:00
parent eb62778bec
commit 57f7cf8349

View File

@ -13,7 +13,7 @@ class FollowRequest < ApplicationRecord
def authorize! def authorize!
account.follow!(target_account) account.follow!(target_account)
FeedManager.instance.merge_into_timeline(target_account, account) MergeWorker.perform_async(target_account.id, account.id)
destroy! destroy!
end end