Patch db,...

This commit is contained in:
2024-05-15 13:36:21 +02:00
parent db7107405c
commit e873b0f900
3 changed files with 5 additions and 5 deletions

View File

@ -46,7 +46,7 @@ export default class extends AbstractView {
if (this.logged && user.id == client.me.id)
username.style.color = "green";
else {
const online = user.online;
let online = (await client.profiles.getProfile(user.username)).online;
if (online == undefined)
username.style.color = "gray";
else if (online == true)