This website works better with JavaScript.
Home
Explore
Help
Sign In
jyt94
/
closedSocialMastodon
forked from
closed-social/mastodon
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
Follow request authorizations faster
closed-social-v3
Eugen Rochko
7 years ago
parent
eb62778bec
commit
57f7cf8349
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
app/models/follow_request.rb
+ 1
- 1
app/models/follow_request.rb
View File
@ -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
Write
Preview
Loading…
Cancel
Save