Block fixed, looking for invite in game

This commit is contained in:
2024-01-19 16:48:20 +01:00
parent cdb4dab47a
commit fe47a4d633
9 changed files with 306 additions and 115 deletions

View File

@ -34,6 +34,7 @@ class Profile
let block_response = await this.client._get("/api/profiles/block");
if (block_response.status != 200)
return
@ -42,7 +43,7 @@ class Profile
block_list.forEach(block => {
let blocker = block.fields.blocker;
let blocked = block.fields.blocked;
if (blocker == this.client.me.user_id && blocked == user_id)
if (blocker == this.client.me.id && blocked == this.id)
return this.isBlocked = true;
});
}