Skip to content
This repository has been archived by the owner on Oct 29, 2018. It is now read-only.

Commit

Permalink
Fixing multiteam loading (#608)
Browse files Browse the repository at this point in the history
  • Loading branch information
raelgc committed Jan 16, 2018
1 parent ad55f5e commit dd56e81
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions scudcloud/resources/scudcloud.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,8 @@ ScudCloud = {
return TS.ui.snippet_dialog.start();
},
listChannels: function(){
var channels = TS.channels.getUnarchivedChannelsForUser();
channels.push(TS.channels.getChannelById(TS.model.active_channel_id));
return channels;
// Slack is now including current channel in the unarchived list (Fixes #608)
return TS.channels.getUnarchivedChannelsForUser();
},
listTeams: function(){
var currentTeam = {
Expand Down

0 comments on commit dd56e81

Please sign in to comment.