enforce kind when loading naddr with a specified kind.

This commit is contained in:
fiatjaf
2023-09-14 08:01:55 -03:00
parent 4c0d7868de
commit 3775841ca0
2 changed files with 4 additions and 2 deletions

View File

@@ -235,8 +235,7 @@ func render(w http.ResponseWriter, r *http.Request) {
typ = "telegram_instant_view"
useTextImage = false
}
}
if style == "slack" || style == "discord" {
} else if style == "slack" || style == "discord" {
useTextImage = false
}