Added private chat.

This commit is contained in:
2025-02-11 15:34:31 +01:00
parent 3f75c8d5f9
commit 8a59ddd210
6 changed files with 144 additions and 12 deletions
+2 -2
View File
@@ -15,12 +15,12 @@
<chat-window style="display:none" class="chat-area"></chat-window>
<div class="chat-input">
<textarea placeholder="Type a message..." rows="2"></textarea>
<upload-button channel="{{ channel.channel_uid.value }}"></upload-button>
<upload-button channel="{{ channel.uid.value }}"></upload-button>
</div>
</section>
<script>
const channelUid = "{{ channel.channel_uid.value }}";
const channelUid = "{{ channel.uid.value }}";
function initInputField(textBox) {
textBox.addEventListener('change', (e) => {