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/post_test.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/post_test.go')
-rw-r--r-- | api/post_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/api/post_test.go b/api/post_test.go index 8f8bca899..7b7832148 100644 --- a/api/post_test.go +++ b/api/post_test.go @@ -837,7 +837,7 @@ func TestMakeDirectChannelVisible(t *testing.T) { channel := Client.Must(Client.CreateDirectChannel(user2.Id)).Data.(*model.Channel) - makeDirectChannelVisible(team.Id, channel.Id) + makeDirectChannelVisible(channel.Id) if result, err := Client.GetPreference(model.PREFERENCE_CATEGORY_DIRECT_CHANNEL_SHOW, user2.Id); err != nil { t.Fatal("Errored trying to set direct channel to be visible for user1") |