fix: preserve image attachments in live and restored conversations
This commit is contained in:
@@ -462,6 +462,7 @@ export function createCodingComposition(
|
||||
),
|
||||
isAuthenticationError: isCodingProviderAuthenticationError,
|
||||
refreshCredential: refreshCodingProviderCredential,
|
||||
projectImage: async ({ data, mime }) => await attachments.put(Buffer.from(data, 'base64'), mime),
|
||||
resolveImages: async (refs) => await Promise.all(refs.map(async ({ attachmentId }) => {
|
||||
const record = await attachments.read(attachmentId);
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user