removed some logs
This commit is contained in:
parent
400a91df3e
commit
b892fc7978
@ -24,8 +24,6 @@ export default class Notice {
|
||||
this._socket.onmessage = async message => {
|
||||
const data = JSON.parse(message.data);
|
||||
|
||||
console.log(data);
|
||||
|
||||
if (data.type === 'friend_request') {
|
||||
this.friend_request(data.author);
|
||||
} else if (data.type === 'new_friend') {
|
||||
|
@ -31,11 +31,6 @@ export default class extends AbstractView {
|
||||
|
||||
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");
|
||||
|
||||
// username
|
||||
|
Loading…
Reference in New Issue
Block a user