From 6119225c2d43473918be49800596bd187e43041e Mon Sep 17 00:00:00 2001 From: John Livingston Date: Wed, 24 Nov 2021 15:59:28 +0100 Subject: [PATCH] ConverseJS: removed inline image display Two reasons: - security (can leak IP, ...) - avoid visual glitchs when picture is too big --- conversejs/builtin.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/conversejs/builtin.ts b/conversejs/builtin.ts index 1b9b4e4b..6f6df33d 100644 --- a/conversejs/builtin.ts +++ b/conversejs/builtin.ts @@ -140,7 +140,8 @@ window.initConverse = async function initConverse ({ toggle_occupants: true }, theme: theme || 'peertube', - persistent_store: 'sessionStorage' + persistent_store: 'sessionStorage', + show_images_inline: false // for security reason, and to avoid bugs when image is larger that iframe } // TODO: params.clear_messages_on_reconnection = true when muc_mam will be available.