Converse upstream WIP:

* moving exports to _converse.exports.
This commit is contained in:
John Livingston
2024-07-15 17:46:45 +02:00
parent cbcf51d1eb
commit b9473cada9
6 changed files with 16 additions and 11 deletions

View File

@ -18,9 +18,14 @@ converse.plugins.add('livechat-converse-tasks', {
dependencies: ['converse-muc', 'converse-disco', 'converse-pubsub'],
initialize () {
_converse.ChatRoomTaskLists = ChatRoomTaskLists
_converse.ChatRoomTaskList = ChatRoomTaskList
_converse.ChatRoomTasks = ChatRoomTasks
Object.assign(
_converse.exports,
{
ChatRoomTaskLists,
ChatRoomTaskList,
ChatRoomTasks
}
)
_converse.api.settings.extend({
livechat_task_app_enabled: false,