diff options
author | Joram Wilander <jwawilander@gmail.com> | 2017-03-04 12:58:37 -0500 |
---|---|---|
committer | George Goldberg <george@gberg.me> | 2017-03-04 17:58:37 +0000 |
commit | 615d116c45923ad4efc4170d150002c599a48fd9 (patch) | |
tree | 71981a43ac4523157ef964ed319f6725f39a7a66 /webapp/stores | |
parent | 163f591b7bad960ff61ad4eb69589ee2aec5d8e1 (diff) | |
download | chat-615d116c45923ad4efc4170d150002c599a48fd9.tar.gz chat-615d116c45923ad4efc4170d150002c599a48fd9.tar.bz2 chat-615d116c45923ad4efc4170d150002c599a48fd9.zip |
Fix desktop notification click handler for existing/new GMs (#5633)
Diffstat (limited to 'webapp/stores')
-rw-r--r-- | webapp/stores/notification_store.jsx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/webapp/stores/notification_store.jsx b/webapp/stores/notification_store.jsx index 28e5ea65d..f32e71047 100644 --- a/webapp/stores/notification_store.jsx +++ b/webapp/stores/notification_store.jsx @@ -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'); |