PLT-6485 Add ability to disable @here notifications (#6372)

Этот коммит содержится в:
David Meza
2017-05-30 11:02:44 -05:00
коммит произвёл Harrison Healey
родитель 23ca4fe69c
Коммит eab6f74594
3 изменённых файлов: 8 добавлений и 19 удалений

Просмотреть файл

@@ -589,7 +589,7 @@ export default class NotificationsTab extends React.Component {
/>
<FormattedMessage
id='user.settings.notifications.channelWide'
defaultMessage='Channel-wide mentions "@channel", "@all"'
defaultMessage='Channel-wide mentions "@channel", "@all", "@here"'
/>
</label>
</div>
@@ -658,6 +658,7 @@ export default class NotificationsTab extends React.Component {
if (this.state.channelKey) {
keys.push('@channel');
keys.push('@all');
keys.push('@here');
}
if (this.state.customKeys.length > 0) {
keys = keys.concat(this.state.customKeys.split(','));