Display full topic per room
This commit is contained in:
parent
e7e80f8791
commit
20aa777270
4
app.js
4
app.js
@ -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();
|
Loading…
Reference in New Issue
Block a user