Another bad temporary fix

This commit is contained in:
Natsumi
2021-04-06 07:24:46 +12:00
parent ae43ef49f4
commit 14283bc3aa

View File

@@ -4975,6 +4975,11 @@ speechSynthesis.getVoices();
// AddFriend (CurrentUser) 이후,
// 서버에서 오는 순서라고 보면 될 듯.
if (ctx.state === 'online') {
if (this.appInit) {
API.getUser({
userId: id
});
}
if (ctx.isVIP) {
removeFromArray(this.friendsGroupA_, ctx);
this.friendsGroupA_.push(ctx);
@@ -5106,6 +5111,9 @@ speechSynthesis.getVoices();
ctx.ref.$location_at = Date.now();
ctx.ref.$online_for = Date.now();
ctx.ref.$offline_for = '';
API.getUser({
userId: id
});
}
}
}