Этот коммит содержится в:
=Corey Hulen
2015-11-23 12:14:50 -08:00
родитель 6ab7df3335
Коммит ba0cbe723b
6 изменённых файлов: 19 добавлений и 18 удалений

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

@@ -101,9 +101,9 @@ export default class ChannelHeader extends React.Component {
let terms = '';
if (user.notify_props && user.notify_props.mention_keys) {
const termKeys = UserStore.getCurrentMentionKeys();
if (user.notify_props.all === 'true' && termKeys.indexOf('@all') !== -1) {
termKeys.splice(termKeys.indexOf('@all'), 1);
}
// if (user.notify_props.all === 'true' && termKeys.indexOf('@all') !== -1) {
// termKeys.splice(termKeys.indexOf('@all'), 1);
// }
if (user.notify_props.channel === 'true' && termKeys.indexOf('@channel') !== -1) {
termKeys.splice(termKeys.indexOf('@channel'), 1);
}