From 0eba1685b3aed57be0701a6d2a207b000224e6ee Mon Sep 17 00:00:00 2001 From: Gabe Kangas Date: Thu, 29 Dec 2022 14:52:15 -0800 Subject: [PATCH] Return the actual display name, not the proposed one --- controllers/chat.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controllers/chat.go b/controllers/chat.go index 9b4305647..e8f2c7649 100644 --- a/controllers/chat.go +++ b/controllers/chat.go @@ -88,7 +88,7 @@ func RegisterAnonymousChatUser(w http.ResponseWriter, r *http.Request) { response := registerAnonymousUserResponse{ ID: newUser.ID, AccessToken: accessToken, - DisplayName: proposedNewDisplayName, + DisplayName: newUser.DisplayName, } w.Header().Set("Content-Type", "application/json")