Skip to content

Commit 837f783

Browse files
committed
Fix bug when creating followed entities
1 parent c8fefb3 commit 837f783

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)