Switch from Converse v10.1.6 to upstream (unreleased v11):
* various WIP to change the Converse version
This commit is contained in:
@ -97,6 +97,7 @@ function defaultConverseParams (
|
||||
pruning_behavior: 'unscrolled',
|
||||
colorize_username: true,
|
||||
send_chat_markers: [],
|
||||
reuse_scram_keys: false, // for now we don't use this.
|
||||
|
||||
// This is a specific settings, that is used in ConverseJS customization, to force avatars loading in readonly mode.
|
||||
livechat_load_all_vcards: !!forceReadonly,
|
||||
|
@ -114,6 +114,11 @@ export const livechatSpecificsPlugin = {
|
||||
// We are probably on a dev instance, so we will add _converse in window:
|
||||
(window as any)._livechatConverse = _converse
|
||||
}
|
||||
|
||||
// Temporary Fix, because v11 removes some constants from _converse.
|
||||
// TODO: remove this line, and replace by something else.
|
||||
// Waiting for response to https://github.com/conversejs/converse.js/issues/3440
|
||||
_converse.CHATROOMS_TYPE = 'chatroom'
|
||||
},
|
||||
overrides: {
|
||||
ChatRoom: {
|
||||
|
Reference in New Issue
Block a user