diff options
author | enahum <nahumhbl@gmail.com> | 2016-09-27 11:19:50 -0300 |
---|---|---|
committer | Christopher Speller <crspeller@gmail.com> | 2016-09-27 10:19:50 -0400 |
commit | 60347559c7fb857bd5afcd93e65b6e220625da79 (patch) | |
tree | dd60ee950e12a9c64f82a1d5239d9d3327aa7ae0 /api/command_expand_collapse.go | |
parent | bfca752940a13c874788b0c885d36b2b263bd4fb (diff) | |
download | chat-60347559c7fb857bd5afcd93e65b6e220625da79.tar.gz chat-60347559c7fb857bd5afcd93e65b6e220625da79.tar.bz2 chat-60347559c7fb857bd5afcd93e65b6e220625da79.zip |
PLT-3734 Cleaning up shouldSendEvent function (#4024)
* PLT-3734 Cleaning up shouldSendEvent function
* Fix LHS unread highlight and jewel mentions
Diffstat (limited to 'api/command_expand_collapse.go')
-rw-r--r-- | api/command_expand_collapse.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/api/command_expand_collapse.go b/api/command_expand_collapse.go index c56845a9e..ee018cf8f 100644 --- a/api/command_expand_collapse.go +++ b/api/command_expand_collapse.go @@ -69,7 +69,7 @@ func setCollapsePreference(c *Context, value string) *model.CommandResponse { return &model.CommandResponse{Text: c.T("api.command_expand_collapse.fail.app_error"), ResponseType: model.COMMAND_RESPONSE_TYPE_EPHEMERAL} } - socketMessage := model.NewWebSocketEvent("", "", c.Session.UserId, model.WEBSOCKET_EVENT_PREFERENCE_CHANGED) + socketMessage := model.NewWebSocketEvent(model.WEBSOCKET_EVENT_PREFERENCE_CHANGED, "", "", c.Session.UserId, nil) socketMessage.Add("preference", pref.ToJson()) go Publish(socketMessage) |