Open LawnGnome opened 1 year ago
Suggestion: Same for users
diff --git a/api/item.go b/api/item.go
index 7e31720..d26669f 100644
--- a/api/item.go
+++ b/api/item.go
@@ -78,6 +78,12 @@ func getUrlsUser(user *mastodon.Account) ([]util.URL, []mastodon.Mention, []mast
urls = append(urls, fu...)
}
+ urls = append(urls, util.URL{
+ Text: user.URL + " (user page)",
+ URL: user.URL,
+ Classes: []string{},
+ })
+
return urls, []mastodon.Mention{}, []mastodon.Tag{}, len(urls)
}
This adds a link when the "open" option is selected for a status that matches the "open original page" overflow menu item for a status in the Mastodon web UI.