feat(federation): include federation status columns in attachment queries
Both buildDmMessageWithUser and buildMessageWithUser manually map attachment fields — add federationStatus and federationMeta so they reach the frontend.
This commit is contained in:
@@ -156,6 +156,8 @@ export function buildMessageWithUser(
|
||||
width: a.width ?? null,
|
||||
height: a.height ?? null,
|
||||
duration: a.duration ?? null,
|
||||
federationStatus: a.federationStatus ?? null,
|
||||
federationMeta: a.federationMeta ?? null,
|
||||
createdAt: a.createdAt,
|
||||
})),
|
||||
embeds: embedRows.map(e => embedRowToEmbed(e)),
|
||||
|
||||
Reference in New Issue
Block a user