From aeb65bceae97611b8931de2e954df18afedd812f Mon Sep 17 00:00:00 2001 From: tobi <31960611+tsmethurst@users.noreply.github.com> Date: Fri, 12 Jul 2024 20:36:03 +0200 Subject: [feature/frontend] Better visual separation between "main" thread and "replies" (#3093) * [feature/frontend] Better web threading model * fix test * bwap * tweaks * more tweaks to wording * typo * indenting * adjust wording * aaa --- internal/api/util/opengraph.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/api/util/opengraph.go') diff --git a/internal/api/util/opengraph.go b/internal/api/util/opengraph.go index 185dc8132..062151836 100644 --- a/internal/api/util/opengraph.go +++ b/internal/api/util/opengraph.go @@ -105,7 +105,7 @@ func (og *OGMeta) WithAccount(account *apimodel.Account) *OGMeta { // WithStatus uses the given status to build an ogMeta // struct specific to that status. It's suitable for serving // at status pages. -func (og *OGMeta) WithStatus(status *apimodel.Status) *OGMeta { +func (og *OGMeta) WithStatus(status *apimodel.WebStatus) *OGMeta { og.Title = "Post by " + AccountTitle(status.Account, og.SiteName) og.Type = "article" if status.Language != nil { -- cgit v1.2.3