diff --git a/html/src/app.js b/html/src/app.js
index 0ccc1cac..6dae9dc6 100644
--- a/html/src/app.js
+++ b/html/src/app.js
@@ -684,6 +684,7 @@ speechSynthesis.getVoices();
var friendCtx = $app.friends.get(ref.id);
if (friendCtx) {
friendCtx.ref = ref;
+ friendCtx.name = ref.displayName;
}
if (ref.id === this.currentUser.id) {
if (ref.status) {
@@ -4567,7 +4568,7 @@ speechSynthesis.getVoices();
) {
if (this.debugFriendState) {
console.log(
- `falsePositiveOffline ${ctx.name} currentState:${ctx.ref.state} expectedState:${newState}`
+ `falsePositiveOffline ${ctx.name} currentState:${ctx.state} expectedState:${newState}`
);
}
return;
@@ -5367,6 +5368,10 @@ speechSynthesis.getVoices();
throw err;
}
}
+ $app.sortVIPFriends = true;
+ $app.sortOnlineFriends = true;
+ $app.sortActiveFriends = true;
+ $app.sortOfflineFriends = true;
$app.getAvatarHistory();
$app.getAllUserMemos();
if ($app.randomUserColours) {