From c189df3eb63790f43b084219ecd0581f0103739b Mon Sep 17 00:00:00 2001 From: vyneer <41237021+vyneer@users.noreply.github.com> Date: Tue, 28 Nov 2023 21:54:40 +0300 Subject: [PATCH] fix: autocomplete being lowercase (#363) --- assets/chat/js/chat.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()), ); } }