mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
PLT-5279: Show username for slash cmd notification. (#5091)
This commit is contained in:
committed by
Corey Hulen
parent
28599d1df8
commit
140bdeb60f
@@ -233,8 +233,6 @@ func handleResponse(c *Context, w http.ResponseWriter, response *model.CommandRe
|
||||
post.AddProp("override_username", cmd.Username)
|
||||
} else if len(response.Username) != 0 {
|
||||
post.AddProp("override_username", response.Username)
|
||||
} else {
|
||||
post.AddProp("override_username", model.DEFAULT_WEBHOOK_USERNAME)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user