diff --git a/plugins/plugins/core/components/ChatPage.js b/plugins/plugins/core/components/ChatPage.js index 0a094713..50313737 100644 --- a/plugins/plugins/core/components/ChatPage.js +++ b/plugins/plugins/core/components/ChatPage.js @@ -20,6 +20,9 @@ import Placeholder from '@tiptap/extension-placeholder' import Highlight from '@tiptap/extension-highlight' import WebWorker from 'web-worker:./computePowWorker.js' import WebWorkerFile from 'web-worker:./computePowWorkerFile.js' +import WebWorkerSortMessages from 'web-worker:./webworkerSortMessages.js' +import WebWorkerDecodeMessages from 'web-worker:./webworkerDecodeMessages.js' + import ShortUniqueId from 'short-unique-id' import Compressor from 'compressorjs' @@ -1340,6 +1343,8 @@ class ChatPage extends LitElement { } this.webWorker = null this.webWorkerFile = null + this.webWorkerSortMessages = null + this.webWorkerDecodeMessages = null this.currentEditor = '_chatEditorDOM' this.initialChat = this.initialChat.bind(this) this.setOpenGifModal = this.setOpenGifModal.bind(this) @@ -1401,6 +1406,7 @@ class ChatPage extends LitElement { } render() { + console.log('chatpage') return html`