icon should probably be Image type

This commit is contained in:
Ted Unangst 2019-07-08 15:02:03 -04:00
parent 7837d50fd4
commit 02aaa2d134
1 changed files with 1 additions and 1 deletions

View File

@ -905,7 +905,7 @@ func asjonker(user *WhatAbout) junk.Junk {
j["summary"] = about j["summary"] = about
j["url"] = user.URL j["url"] = user.URL
a := junk.New() a := junk.New()
a["type"] = "icon" a["type"] = "Image"
a["mediaType"] = "image/png" a["mediaType"] = "image/png"
a["url"] = fmt.Sprintf("https://%s/a?a=%s", serverName, url.QueryEscape(user.URL)) a["url"] = fmt.Sprintf("https://%s/a?a=%s", serverName, url.QueryEscape(user.URL))
j["icon"] = a j["icon"] = a