feat: include width, height, duration in all attachment serialization

This commit is contained in:
Jannis Braun
2026-03-21 17:20:04 +01:00
parent 7c767b580a
commit 561c9bc4f3
3 changed files with 13 additions and 0 deletions
+3
View File
@@ -88,6 +88,9 @@ export function buildDmMessageWithUser(
mimetype: a.mimetype,
size: a.size,
thumbnailFilename: a.thumbnailFilename ?? null,
width: a.width ?? null,
height: a.height ?? null,
duration: a.duration ?? null,
createdAt: a.createdAt,
})),
embeds: embedRows.map(e => embedRowToEmbed(e)),