Return the actual display name, not the proposed one
This commit is contained in:
parent
6a8473a297
commit
0eba1685b3
@ -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…
Reference in New Issue
Block a user