Display full topic per room

This commit is contained in:
Raven Scott 2024-06-08 01:47:29 -04:00
parent e7e80f8791
commit 20aa777270

4
app.js
View File

@ -176,7 +176,7 @@ async function joinSwarm(topicBuffer) {
await discovery.flushed(); await discovery.flushed();
const topic = b4a.toString(topicBuffer, 'hex'); const topic = b4a.toString(topicBuffer, 'hex');
document.querySelector('#chat-room-topic').innerText = truncateHash(topic); document.querySelector('#chat-room-topic').innerText = topic; // Set full topic here
document.querySelector('#loading').classList.add('hidden'); document.querySelector('#loading').classList.add('hidden');
document.querySelector('#chat').classList.remove('hidden'); document.querySelector('#chat').classList.remove('hidden');
@ -291,4 +291,4 @@ function toggleSetupView() {
setupDiv.classList.toggle('hidden'); setupDiv.classList.toggle('hidden');
} }
initialize(); initialize();