aboutsummaryrefslogtreecommitdiff
path: root/controller/controller.go
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--controller/controller.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/controller/controller.go b/controller/controller.go
index e2b21b8..91ac267 100644
--- a/controller/controller.go
+++ b/controller/controller.go
@@ -177,7 +177,7 @@ func (r *Controller) Following(name string) (map[string]interface{}, error) {
if handler == nil {
return nil, nil
}
- profile, err := urls.UrlProfile(name, r.cfg.Domain)
+ profile, err := urls.UrlActor(name, r.cfg.Domain)
if err != nil {
return nil, err
}
@@ -200,7 +200,7 @@ func (r *Controller) Followers(name string) (map[string]interface{}, error) {
if handler == nil {
return nil, nil
}
- profile, err := urls.UrlProfile(name, r.cfg.Domain)
+ profile, err := urls.UrlActor(name, r.cfg.Domain)
if err != nil {
return nil, err
}
@@ -248,7 +248,7 @@ func (r *Controller) Inbox(name string, req *http.Request, payload []byte) error
return err
}
- actorUrl, err := urls.UrlProfile(handler.handlerCfg.Name, r.cfg.Domain)
+ actorUrl, err := urls.UrlActor(handler.handlerCfg.Name, r.cfg.Domain)
if err != nil {
return err
}
@@ -261,7 +261,7 @@ func (r *Controller) Inbox(name string, req *http.Request, payload []byte) error
inboxUrl := inboxProp.GetIRI()
logger.With("actor", idPropUrl).With("inbox", inboxUrl).Debugf("follow")
- actorKeyUrl, err := urls.UrlProfileKey(handler.handlerCfg.Name, r.cfg.Domain)
+ actorKeyUrl, err := urls.UrlActorKey(handler.handlerCfg.Name, r.cfg.Domain)
if err != nil {
return err
}