This website works better with JavaScript.
Home
Explore
Help
Sign In
nekobus
/
mastodon_neko
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
Bump interactions count when a follow happens (
#8468
)
master
Eugen Rochko
6 years ago
committed by
GitHub
parent
c597249124
commit
8adf485c0f
No known key found for this signature in database
GPG Key ID:
4AEE18F83AFDEB23
1 changed files
with
2 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
app/services/follow_service.rb
+ 2
- 0
app/services/follow_service.rb
View File
@ -27,6 +27,8 @@ class FollowService < BaseService
return
end
ActivityTracker
.
increment
(
'activity:interactions'
)
if
target_account
.
locked?
||
target_account
.
activitypub?
request_follow
(
source_account
,
target_account
,
reblogs
:
reblogs
)
else
Write
Preview
Loading…
Cancel
Save