fix: message.md not getting cleaned up correctly (#5606)

This commit is contained in:
Diego Mello 2024-03-06 15:58:31 -03:00 committed by GitHub
parent 2c0cfa1681
commit 3b6177002a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 0 deletions

View File

@ -139,6 +139,9 @@ export default async function updateMessages({
if (newMessage && !newMessage?.blocks) {
newMessage.blocks = null;
}
if (newMessage && !newMessage?.md) {
newMessage.md = undefined;
}
Object.assign(m, newMessage);
})
);