removed some logs

This commit is contained in:
AdrienLSH 2024-05-15 13:52:53 +02:00
parent 400a91df3e
commit b892fc7978
2 changed files with 0 additions and 7 deletions

View File

@ -24,8 +24,6 @@ export default class Notice {
this._socket.onmessage = async message => { this._socket.onmessage = async message => {
const data = JSON.parse(message.data); const data = JSON.parse(message.data);
console.log(data);
if (data.type === 'friend_request') { if (data.type === 'friend_request') {
this.friend_request(data.author); this.friend_request(data.author);
} else if (data.type === 'new_friend') { } else if (data.type === 'new_friend') {

View File

@ -31,11 +31,6 @@ export default class extends AbstractView {
this.profiles.filter(user => user.username.toLowerCase().startsWith(search) == true).forEach(async (user) => { this.profiles.filter(user => user.username.toLowerCase().startsWith(search) == true).forEach(async (user) => {
if (user.id == null) {
console.log("list User one with id null;");
return;
}
const new_user = document.createElement("li"); const new_user = document.createElement("li");
// username // username