ConverseJS: removed inline image display

Two reasons:
- security (can leak IP, ...)
- avoid visual glitchs when picture is too big
This commit is contained in:
John Livingston 2021-11-24 15:59:28 +01:00
parent d2b0000279
commit 6119225c2d
No known key found for this signature in database
GPG Key ID: B17B5640CE66CDBC

View File

@ -140,7 +140,8 @@ window.initConverse = async function initConverse ({
toggle_occupants: true toggle_occupants: true
}, },
theme: theme || 'peertube', 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. // TODO: params.clear_messages_on_reconnection = true when muc_mam will be available.