diff options
Diffstat (limited to '')
-rw-r--r-- | views/actor.go | 4 | ||||
-rw-r--r-- | views/helpers.go | 4 | ||||
-rw-r--r-- | views/outbox.go | 2 | ||||
-rw-r--r-- | views/webfinger.go | 2 |
4 files changed, 6 insertions, 6 deletions
diff --git a/views/actor.go b/views/actor.go index 36f1f0c..3069dda 100644 --- a/views/actor.go +++ b/views/actor.go @@ -22,12 +22,12 @@ func RenderActor(name, domain, pem, mediaType, summary string) (map[string]inter outboxProp := streams.NewActivityStreamsOutboxProperty() outboxProp.SetIRI(outbox) - actorUrl, err := urls.UrlProfile(name, domain) + actorUrl, err := urls.UrlActor(name, domain) if err != nil { return nil, err } - actorUrlKey, err := urls.UrlProfileKey(name, domain) + actorUrlKey, err := urls.UrlActorKey(name, domain) if err != nil { return nil, err } 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 } diff --git a/views/outbox.go b/views/outbox.go index 37afed1..fcdf08e 100644 --- a/views/outbox.go +++ b/views/outbox.go @@ -16,7 +16,7 @@ func RenderOutboxCollection(name, domain string, page []models.OutboxItem) (map[ return nil, err } - actorUrl, err := urls.UrlProfile(name, domain) + actorUrl, err := urls.UrlActor(name, domain) if err != nil { return nil, err } diff --git a/views/webfinger.go b/views/webfinger.go index 47c1223..f500bc0 100644 --- a/views/webfinger.go +++ b/views/webfinger.go @@ -19,7 +19,7 @@ type WebfingerResource struct { } func RenderWebfinger(name, domain, hostname string) (*WebfingerResource, error) { - actorUrl, err := urls.UrlProfile(name, domain) + actorUrl, err := urls.UrlActor(name, domain) if err != nil { return nil, err } |