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