fix: message.md not getting cleaned up correctly (#5606)
This commit is contained in:
parent
2c0cfa1681
commit
3b6177002a
|
@ -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);
|
||||
})
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue