Return the actual display name, not the proposed one

This commit is contained in:
Gabe Kangas 2022-12-29 14:52:15 -08:00
parent 6a8473a297
commit 0eba1685b3
No known key found for this signature in database
GPG Key ID: 4345B2060657F330

View File

@ -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")