Remove not needed code
This commit is contained in:
parent
7a74d3fc4d
commit
a92b22ef17
@ -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');
|
||||
|
Loading…
Reference in New Issue
Block a user