Merge pull request #1502 from mattermost/disable-all

Disabling the all mention
Этот коммит содержится в:
Christopher Speller
2015-11-24 09:02:49 -05:00
родитель 2090f6ad57 30bf72262e
Коммит 99cbbf45dc
5 изменённых файлов: 22 добавлений и 17 удалений

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

@@ -512,7 +512,7 @@ export default class NotificationsTab extends React.Component {
}.bind(this);
inputs.push(
<div key='userNotificationAllOption'>
<div className='checkbox'>
<div className='checkbox hidden'>
<label>
<input
type='checkbox'
@@ -590,9 +590,11 @@ export default class NotificationsTab extends React.Component {
if (this.state.mentionKey) {
keys.push('@' + user.username);
}
if (this.state.allKey) {
keys.push('@all');
}
// if (this.state.allKey) {
// keys.push('@all');
// }
if (this.state.channelKey) {
keys.push('@channel');
}