Skip to content

Commit

Permalink
Prevent message content overwriting during JSON export
Browse files Browse the repository at this point in the history
  • Loading branch information
prathercc committed Dec 25, 2023
1 parent 99dcb1f commit 450c3c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/features/export/exportSlice.js
Original file line number Diff line number Diff line change
Expand Up @@ -668,7 +668,7 @@ const _exportJson =
);
});
}
return Object.assign(message, { content });
return Object.assign(message.getSafeCopy(), { content });
})
),
],
Expand Down

0 comments on commit 450c3c4

Please sign in to comment.