Skip to content

Commit 4911148

Browse files
authored
Merge pull request #3577 from manyfold3d/fix-follow-remote
Fix bug when creating followed entities
2 parents c8fefb3 + 837f783 commit 4911148

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/models/concerns/follower.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,6 @@ def after_accept(follow)
3737
end
3838

3939
def find_or_create_followed_entity(actor)
40-
actor.entity || ApplicationDeserializer.deserializer_for(actor)&.create!
40+
actor.entity || ActivityPub::ApplicationDeserializer.deserializer_for(actor)&.create!
4141
end
4242
end

0 commit comments

Comments
 (0)