mirror of
https://gitlab.melroy.org/melroy/fediresolve.git
synced 2025-06-07 11:58:55 +00:00
Also add avatar link in summary
This commit is contained in:
parent
ce59e5a4a8
commit
bdb8dbbdc4
1 changed files with 0 additions and 1 deletions
|
@ -88,7 +88,6 @@ func formatActor(jsonStr string, parts []string, bold, cyan, green, red, yellow
|
|||
parts = append(parts, fmt.Sprintf("%s: %s", bold("URL"), green(url)))
|
||||
}
|
||||
|
||||
// Add avatar (icon) link if present
|
||||
iconUrl := gjson.Get(jsonStr, "icon.url").String()
|
||||
if iconUrl != "" {
|
||||
parts = append(parts, fmt.Sprintf("%s: %s", bold("Avatar"), green(iconUrl)))
|
||||
|
|
Loading…
Add table
Reference in a new issue