aboutsummaryrefslogtreecommitdiff
path: root/views/helpers.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 /views/helpers.go
parentffae32bca78d82d1cb0afd3e51a2582b0ec1f58d (diff)
downloadcommunique-ff1d7ddc3f5e386b9c8107456c54ca5f985c7b4b.tar.gz
rename last bit of profile to actor
Diffstat (limited to 'views/helpers.go')
-rw-r--r--views/helpers.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/views/helpers.go b/views/helpers.go
index 96c81bc..4d20056 100644
--- a/views/helpers.go
+++ b/views/helpers.go
@@ -24,7 +24,7 @@ func activityObjectNote(name, domain string, v models.OutboxItem) (vocab.Activit
contentProp.AppendXMLSchemaString(string(v.Content))
note.SetActivityStreamsContent(contentProp)
- actorUrl, err := urls.UrlProfile(name, domain)
+ actorUrl, err := urls.UrlActor(name, domain)
if err != nil {
return nil, err
}
@@ -81,7 +81,7 @@ func activityObjectCreate(name, domain string, v models.OutboxItem, note vocab.A
publishedProp.Set(v.CreatedAt)
crea.SetActivityStreamsPublished(publishedProp)
- actorUrl, err := urls.UrlProfile(name, domain)
+ actorUrl, err := urls.UrlActor(name, domain)
if err != nil {
return nil, err
}