always open details for unknown (Other) events.

This commit is contained in:
fiatjaf
2023-11-05 07:58:19 -03:00
parent 227f6a88ec
commit 2cacdc84e7
2 changed files with 3 additions and 1 deletions

View File

@@ -352,6 +352,8 @@ func renderEvent(w http.ResponseWriter, r *http.Request) {
IsVideo: data.kind1063Metadata.IsVideo(),
})
case Other:
detailsData.HideDetails = false // always open this since we know nothing else about the event
err = OtherTemplate.Render(w, &OtherPage{
HeadCommonPartial: HeadCommonPartial{
IsProfile: false,