From f82667f3b86202dafff3a2a4ea56aec74c80316d Mon Sep 17 00:00:00 2001 From: enahum Date: Thu, 27 Oct 2016 12:24:30 -0300 Subject: PLT-4430 improve slow channel switching (#4331) * PLT-4430 improve slow channel switching * Update client side unit tests * Convert getChannelsUnread to getMyChannelMembers and address other feedback * Pull channel members on websocket reconnect --- api/command_join.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'api/command_join.go') diff --git a/api/command_join.go b/api/command_join.go index b8c863425..2aba1bbd5 100644 --- a/api/command_join.go +++ b/api/command_join.go @@ -38,7 +38,7 @@ func (me *JoinProvider) DoCommand(c *Context, channelId string, message string) } else { channels := result.Data.(*model.ChannelList) - for _, v := range channels.Channels { + for _, v := range *channels { if v.Name == message { -- cgit v1.2.3-1-g7c22