Properly hide embeds for links in reply previews

This commit is contained in:
Cadence Ember
2025-12-11 12:46:28 +13:00
parent 653e38a9d2
commit 2563a47e78
3 changed files with 4 additions and 1 deletions

2
src/types.d.ts vendored
View File

@@ -221,6 +221,7 @@ export namespace Event {
filename?: string
url: string
info?: any
"page.codeberg.everypizza.msc4193.spoiler"?: boolean
"m.relates_to"?: {
"m.in_reply_to": {
event_id: string
@@ -238,6 +239,7 @@ export namespace Event {
format?: "org.matrix.custom.html"
formatted_body?: string
filename?: string
"page.codeberg.everypizza.msc4193.spoiler"?: boolean
file: {
url: string
iv: string