aboutsummaryrefslogtreecommitdiff
path: root/controller/controller.go
diff options
context:
space:
mode:
authorJulio Capote <jcapote@gmail.com>2023-01-08 14:11:14 +0000
committerJulio Capote <jcapote@gmail.com>2023-01-08 14:11:14 +0000
commitff1d7ddc3f5e386b9c8107456c54ca5f985c7b4b (patch)
treeed1b17c06e2fce209178719a67ee4f92feeec477 /controller/controller.go
parentffae32bca78d82d1cb0afd3e51a2582b0ec1f58d (diff)
downloadcommunique-ff1d7ddc3f5e386b9c8107456c54ca5f985c7b4b.tar.gz
rename last bit of profile to actor
Diffstat (limited to 'controller/controller.go')
-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
}