fix: this. this. this.userMap - remove this.

This commit is contained in:
William Oldham
2025-03-23 17:08:45 +00:00
parent 445f5a2d46
commit 094bbf98d4

View File

@@ -223,8 +223,8 @@ function setName(pid, name) {
if (!pid || !name) {
return;
}
this.userMap.delete(pid);
this.userMap.set(pid, name.replace(/[\u{0080}-\u{FFFF}]/gu, '').replace(/\u202e/g, ''));
userMap.delete(pid);
userMap.set(pid, name.replace(/[\u{0080}-\u{FFFF}]/gu, '').replace(/\u202e/g, ''));
}
function updateCommunityHash(community) {