mirror of
https://git.bsd.gay/fef/nyastodon.git
synced 2024-12-24 18:13:42 +01:00
Parse OStatus tag URIs in ActivityPub handlers when those are local (#4631)
This commit is contained in:
parent
2edfdab6e6
commit
c7d2619ab1
1 changed files with 2 additions and 0 deletions
|
@ -90,6 +90,8 @@ class ActivityPub::TagManager
|
||||||
else
|
else
|
||||||
klass.find_by(id: uri_to_local_id(uri))
|
klass.find_by(id: uri_to_local_id(uri))
|
||||||
end
|
end
|
||||||
|
elsif ::TagManager.instance.local_id?(uri)
|
||||||
|
klass.find_by(id: ::TagManager.instance.unique_tag_to_local_id(uri, klass.to_s))
|
||||||
else
|
else
|
||||||
klass.find_by(uri: uri)
|
klass.find_by(uri: uri)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue