Remove not needed code

This commit is contained in:
Raven Scott 2024-06-11 03:28:26 -04:00
parent 7a74d3fc4d
commit a92b22ef17

View File

@ -112,9 +112,6 @@
}
if (chatRoomName) {
// Update the room name in the header
const room = config.rooms.find(r => r.topic === topic);
const roomName = room ? room.alias : truncateHash(topic);
chatRoomName.innerText = roomName;
} else {
console.error('Element #chat-room-name not found');