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

View File

@@ -370,6 +370,7 @@ async function messageToEvent(message, guild, options = {}, di) {
return `https://matrix.to/#/${oldestRow.room_id}/${event_id}?${via}`
} catch (e) {
// M_NOT_FOUND: Unable to find event from <ts> in direction Direction.FORWARDS
// not supported in Conduit and descendants
return `[unknown event, timestamp resolution failed, in room: https://matrix.to/#/${oldestRow.room_id}?${via}]`
}
}