diff options
author | Nick Frazier <nrflaw@gmail.com> | 2016-12-20 08:56:45 -0500 |
---|---|---|
committer | Christopher Speller <crspeller@gmail.com> | 2016-12-20 08:56:45 -0500 |
commit | e9a1a8d3d9ee9a952f5552fc708b0e3830b21dd1 (patch) | |
tree | 58d5cffcc37c14d38bda4becd324909f838aefef /webapp/components/rename_channel_modal.jsx | |
parent | fad14e6624d229b41283227e987f2362ef1d5af5 (diff) | |
download | chat-e9a1a8d3d9ee9a952f5552fc708b0e3830b21dd1.tar.gz chat-e9a1a8d3d9ee9a952f5552fc708b0e3830b21dd1.tar.bz2 chat-e9a1a8d3d9ee9a952f5552fc708b0e3830b21dd1.zip |
GH-4685 Post a System Message when channel is renamed (#4762)
* test changes
* added system message when displayname changed
* added test
* gofmt
Diffstat (limited to 'webapp/components/rename_channel_modal.jsx')
-rw-r--r-- | webapp/components/rename_channel_modal.jsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webapp/components/rename_channel_modal.jsx b/webapp/components/rename_channel_modal.jsx index 3eaab834f..5253b1c80 100644 --- a/webapp/components/rename_channel_modal.jsx +++ b/webapp/components/rename_channel_modal.jsx @@ -122,7 +122,7 @@ export class RenameChannelModal extends React.Component { const channel = Object.assign({}, this.props.channel); const oldName = channel.name; - const oldDisplayName = channel.displayName; + const oldDisplayName = channel.display_name; const state = {serverError: ''}; const {formatMessage} = this.props.intl; |