feat: include width, height, duration in all attachment serialization
This commit is contained in:
@@ -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)),
|
||||
|
||||
Reference in New Issue
Block a user