Fix desktop notification click handler for existing/new GMs (#5633)

Этот коммит содержится в:
Joram Wilander
2017-03-04 12:58:37 -05:00
коммит произвёл George Goldberg
родитель 163f591b7b
Коммит 615d116c45
2 изменённых файлов: 3 добавлений и 2 удалений

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

@@ -71,7 +71,8 @@ class NotificationStoreClass extends EventEmitter {
if (!channel) {
title = msgProps.channel_display_name;
channel = {
name: msgProps.channel_name
name: msgProps.channel_name,
type: msgProps.channel_type
};
} else if (channel.type === Constants.DM_CHANNEL) {
title = Utils.localizeMessage('notification.dm', 'Direct Message');