Use Constants.MAX_CHANNELNAME_LENGTH where a fixed number like 22 or 64 is used for max length of channel names. (#7041)

Этот коммит содержится в:
David Meza
2017-08-01 07:12:25 -05:00
коммит произвёл George Goldberg
родитель 00e8b6621a
Коммит b023b89155
4 изменённых файлов: 11 добавлений и 9 удалений

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

@@ -1,6 +1,8 @@
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
// See License.txt for license information.
/* eslint-disable no-magic-numbers */
import keyMirror from 'key-mirror';
import audioIcon from 'images/icons/audio.png';