Change some ConverseJS parameters.
This commit is contained in:
parent
61dfa0b79f
commit
3c5d74cc1a
@ -128,7 +128,13 @@ window.initConverse = async function initConverse ({
|
|||||||
show_controlbox_by_default: false,
|
show_controlbox_by_default: false,
|
||||||
view_mode: 'fullscreen',
|
view_mode: 'fullscreen',
|
||||||
allow_message_corrections: 'all',
|
allow_message_corrections: 'all',
|
||||||
allow_message_retraction: 'all'
|
allow_message_retraction: 'all',
|
||||||
|
visible_toolbar_buttons: {
|
||||||
|
call: false,
|
||||||
|
spoiler: true,
|
||||||
|
emoji: true,
|
||||||
|
toggle_occupants: true
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// 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.
|
||||||
@ -158,7 +164,10 @@ window.initConverse = async function initConverse ({
|
|||||||
// params.muc_show_logs_before_join = true
|
// params.muc_show_logs_before_join = true
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!advancedControls) {
|
if (advancedControls) {
|
||||||
|
// with the builtin prosody, no need to use this warning (except if we open to external clients?)
|
||||||
|
params.show_retraction_warning = false
|
||||||
|
} else {
|
||||||
// These params are for externals XMPP servers.
|
// These params are for externals XMPP servers.
|
||||||
// NB: because we dont know if external servers have authentication mecanism,
|
// NB: because we dont know if external servers have authentication mecanism,
|
||||||
// we disable all moderation functionnality.
|
// we disable all moderation functionnality.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user