Dialog share button, rework unfavorite buttons

This commit is contained in:
Natsumi
2024-12-10 16:47:05 +13:00
parent c7c4e7bb99
commit 158248885b
10 changed files with 96 additions and 46 deletions

View File

@@ -1147,7 +1147,7 @@ class Database {
var instances = new Set();
var ref = {
timeSpent: 0,
created_at: '',
lastSeen: '',
joinCount: 0,
userId: input.id,
previousDisplayNames: new Map()
@@ -1159,7 +1159,7 @@ class Database {
}
i++;
if (i === 1 || (inCurrentWorld && i === 2)) {
ref.created_at = row[0];
ref.lastSeen = row[0];
}
instances.add(row[3]);
if (input.displayName !== row[4]) {