diff --git a/assets/chat/js/chat.js b/assets/chat/js/chat.js index 0ad9435e..5c59477c 100644 --- a/assets/chat/js/chat.js +++ b/assets/chat/js/chat.js @@ -972,7 +972,7 @@ class Chat { users.push(this.addUser(data.recipient)); } users.forEach((u) => - this.autocomplete.add(u.username, false, Date.now()), + this.autocomplete.add(u.displayName, false, Date.now()), ); } }