From 7dd8688f048faad658a6718a57f83488421735da Mon Sep 17 00:00:00 2001 From: Rajeh Taher Date: Sun, 15 Jan 2023 20:32:28 +0200 Subject: [PATCH] fix: Fix client-side message rendering issue when sending attachements through the library (#1905) --- src/util/Injected.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/util/Injected.js b/src/util/Injected.js index e1f3871..bc05602 100644 --- a/src/util/Injected.js +++ b/src/util/Injected.js @@ -271,6 +271,7 @@ exports.LoadUtils = () => { ...ephemeralFields, ...locationOptions, ...attOptions, + ...(Object.keys(attOptions).length > 0 ? attOptions.toJSON() : {}), ...quotedMsgOptions, ...vcardOptions, ...buttonOptions,