Resolve local preview mentions by player id
This commit is contained in:
parent
a4faf61dd0
commit
a54e009e28
1 changed files with 1 additions and 1 deletions
|
|
@ -13,7 +13,7 @@ export function mountChatPreview(nav) {
|
|||
name: p.name,
|
||||
playerIndex: i,
|
||||
}));
|
||||
const names = new Map(people.map((p) => [p.name, p.id]));
|
||||
const names = new Map(people.map((p) => [p.id, p.name]));
|
||||
const status = document.createElement("span");
|
||||
status.setAttribute("role", "status");
|
||||
status.textContent = "Local chat · messages stay here";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue