Transmogrifier: On incoming follow accept, update follow counts.
This commit is contained in:
parent
f8190aea5e
commit
ca31af473c
2 changed files with 11 additions and 1 deletions
|
|
@ -815,6 +815,12 @@ defmodule Pleroma.Web.ActivityPub.TransmogrifierTest do
|
|||
follower = User.get_cached_by_id(follower.id)
|
||||
|
||||
assert User.following?(follower, followed) == true
|
||||
|
||||
follower = User.get_by_id(follower.id)
|
||||
assert follower.following_count == 1
|
||||
|
||||
followed = User.get_by_id(followed.id)
|
||||
assert followed.follower_count == 1
|
||||
end
|
||||
|
||||
test "it fails for incoming accepts which cannot be correlated" do
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue