From ac7df25075dc5efd5f8718a2ead6d3b47683bd9c Mon Sep 17 00:00:00 2001 From: Rajeh Taher Date: Sat, 1 Apr 2023 17:09:28 +0300 Subject: [PATCH] Fix media renders (#1981) * Fixed * Update src/util/Injected.js --------- Co-authored-by: tuyuribr <45042245+tuyuribr@users.noreply.github.com> --- src/util/Injected.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/util/Injected.js b/src/util/Injected.js index c9a7638..cf812a9 100644 --- a/src/util/Injected.js +++ b/src/util/Injected.js @@ -272,6 +272,7 @@ exports.LoadUtils = () => { ...ephemeralFields, ...locationOptions, ...attOptions, + ...(attOptions.toJSON ? attOptions.toJSON() : {}), ...quotedMsgOptions, ...vcardOptions, ...buttonOptions,