mirror of
https://github.com/jlelse/GoBlog
synced 2024-06-18 12:15:00 +00:00
Fix ActivityStreams icon
This commit is contained in:
parent
2170303f7b
commit
443b826847
|
@ -129,7 +129,7 @@ func (a *goBlog) toApPerson(blog string) *ap.Person {
|
|||
icon := &ap.Image{}
|
||||
icon.Type = ap.ImageType
|
||||
icon.MediaType = ap.MimeType(contenttype.JPEG)
|
||||
icon.URL = ap.IRI(a.profileImagePath(profileImageFormatJPEG, 0, 0))
|
||||
icon.URL = ap.IRI(a.getFullAddress(a.profileImagePath(profileImageFormatJPEG, 0, 0)))
|
||||
apBlog.Icon = icon
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user