Browse Source

Return the actual display name, not the proposed one

pull/2533/head
Gabe Kangas 3 years ago
parent
commit
0eba1685b3
No known key found for this signature in database
GPG Key ID: 4345B2060657F330
  1. 2
      controllers/chat.go

2
controllers/chat.go

@ -88,7 +88,7 @@ func RegisterAnonymousChatUser(w http.ResponseWriter, r *http.Request) { @@ -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")

Loading…
Cancel
Save