aboutsummaryrefslogtreecommitdiff
path: root/webfinger/webfinger.go
diff options
context:
space:
mode:
Diffstat (limited to 'webfinger/webfinger.go')
-rw-r--r--webfinger/webfinger.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/webfinger/webfinger.go b/webfinger/webfinger.go
index d937ae4..210a3d6 100644
--- a/webfinger/webfinger.go
+++ b/webfinger/webfinger.go
@@ -32,7 +32,7 @@ func GetActor(id string) (activitypub.Actor, error) {
return respActor, nil
}
- actor, instance := util.GetActorInstance(id)
+ actor, instance := activitypub.GetActorInstance(id)
if ActorCache[actor+"@"+instance].Id != "" {
respActor = ActorCache[actor+"@"+instance]
@@ -69,7 +69,7 @@ func GetActor(id string) (activitypub.Actor, error) {
func FingerActor(path string) (activitypub.Actor, error) {
var nActor activitypub.Actor
- actor, instance := util.GetActorInstance(path)
+ actor, instance := activitypub.GetActorInstance(path)
if actor == "" && instance == "" {
return nActor, nil