From 38a59334fff7a76ceb6ac762ac04cb96760c8dea Mon Sep 17 00:00:00 2001 From: vyneer Date: Tue, 28 Nov 2023 14:07:50 +0300 Subject: [PATCH] fix: autocomplete being lowercase --- 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()), ); } }