diff options
author | Julio Capote <jcapote@gmail.com> | 2023-01-08 14:11:14 +0000 |
---|---|---|
committer | Julio Capote <jcapote@gmail.com> | 2023-01-08 14:11:14 +0000 |
commit | ff1d7ddc3f5e386b9c8107456c54ca5f985c7b4b (patch) | |
tree | ed1b17c06e2fce209178719a67ee4f92feeec477 /views/helpers.go | |
parent | ffae32bca78d82d1cb0afd3e51a2582b0ec1f58d (diff) | |
download | communique-ff1d7ddc3f5e386b9c8107456c54ca5f985c7b4b.tar.gz |
rename last bit of profile to actor
Diffstat (limited to 'views/helpers.go')
-rw-r--r-- | views/helpers.go | 4 |
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 } |