mirror of
https://framagit.org/tykayn/mastodon.git
synced 2023-08-25 08:33:12 +02:00
Follow request authorizations faster
This commit is contained in:
parent
eb62778bec
commit
57f7cf8349
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user