forked from snxraven/LinkUp-P2P-Chat
Display full topic per room
This commit is contained in:
parent
e7e80f8791
commit
20aa777270
2
app.js
2
app.js
@ -176,7 +176,7 @@ async function joinSwarm(topicBuffer) {
|
||||
await discovery.flushed();
|
||||
|
||||
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('#chat').classList.remove('hidden');
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user