Fix ConverseJS v10.0.0: dark_theme should be equal to theme.

This commit is contained in:
John Livingston 2022-10-31 18:03:40 +01:00
parent a8200a5724
commit 7944567b33
No known key found for this signature in database
GPG Key ID: B17B5640CE66CDBC

View File

@ -172,6 +172,7 @@ window.initConverse = async function initConverse ({
toggle_occupants: true
},
theme: theme || 'peertube',
dark_theme: theme || 'peertube', // dark theme should be the same as theme
persistent_store: 'sessionStorage',
show_images_inline: false, // for security reason, and to avoid bugs when image is larger that iframe
render_media: false, // for security reason, and to avoid bugs when image is larger that iframe