forked from snxraven/LinkUp-P2P-Chat
Remove not needed code
This commit is contained in:
parent
7a74d3fc4d
commit
a92b22ef17
@ -112,9 +112,6 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (chatRoomName) {
|
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;
|
chatRoomName.innerText = roomName;
|
||||||
} else {
|
} else {
|
||||||
console.error('Element #chat-room-name not found');
|
console.error('Element #chat-room-name not found');
|
||||||
|
Loading…
Reference in New Issue
Block a user