aboutsummaryrefslogtreecommitdiff
path: root/views/helpers.go
diff options
context:
space:
mode:
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
}