diff options
author | Joram Wilander <jwawilander@gmail.com> | 2017-03-09 14:41:03 -0500 |
---|---|---|
committer | George Goldberg <george@gberg.me> | 2017-03-09 19:41:03 +0000 |
commit | 9c13863f484e9741adf4179cb6b95ee4af8ec343 (patch) | |
tree | d21b1021642124dee6f03188c83c75563ddfda8a /app | |
parent | 6ff46f30509819d518799561f66358dcd1ec4230 (diff) | |
download | chat-9c13863f484e9741adf4179cb6b95ee4af8ec343.tar.gz chat-9c13863f484e9741adf4179cb6b95ee4af8ec343.tar.bz2 chat-9c13863f484e9741adf4179cb6b95ee4af8ec343.zip |
Fix GMs showing up on refresh after being hidden (#5702)
Diffstat (limited to 'app')
-rw-r--r-- | app/notification.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/notification.go b/app/notification.go index 469d114ee..1dd3fedb2 100644 --- a/app/notification.go +++ b/app/notification.go @@ -286,7 +286,7 @@ func SendNotifications(post *model.Post, team *model.Team, channel *model.Channe message := model.NewWebSocketEvent(model.WEBSOCKET_EVENT_POSTED, "", post.ChannelId, "", nil) message.Add("post", post.ToJson()) message.Add("channel_type", channel.Type) - message.Add("channel_display_name", channel.DisplayName) + message.Add("channel_display_name", channelName) message.Add("channel_name", channel.Name) message.Add("sender_name", senderUsername) message.Add("team_id", team.Id) |