Switch from Converse v10.1.6 to upstream (unreleased v11):

* various WIP to change the Converse version
This commit is contained in:
John Livingston
2024-07-11 17:53:50 +02:00
parent 9679aec739
commit 51b603c894
28 changed files with 38 additions and 32 deletions

View File

@ -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: {