Skip to content
Snippets Groups Projects
Commit c7d2619a authored by Eugen Rochko's avatar Eugen Rochko Committed by GitHub
Browse files

Parse OStatus tag URIs in ActivityPub handlers when those are local (#4631)

parent 2edfdab6
No related branches found
Tags v1.3
No related merge requests found
......@@ -90,6 +90,8 @@ class ActivityPub::TagManager
else
klass.find_by(id: uri_to_local_id(uri))
end
elsif ::TagManager.instance.local_id?(uri)
klass.find_by(id: ::TagManager.instance.unique_tag_to_local_id(uri, klass.to_s))
else
klass.find_by(uri: uri)
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment