default stream: Fix default stream suggestion do not include private stream.

Private streams were not included in stream suggestions for default streams
in org settings.
Remove function, which exclude private streams from stream suggestions
for default streams.
This commit is contained in:
YJDave
2018-03-04 12:55:59 +05:30
committed by Tim Abbott
parent 81ba7a1e40
commit 8cd3e55fae
2 changed files with 1 additions and 4 deletions

View File

@@ -417,7 +417,7 @@ zrequire('marked', 'third/marked/lib/marked');
stream_data.add_sub('private_stream', private_stream);
var names = stream_data.get_non_default_stream_names();
assert.deepEqual(names, ['public']);
assert.deepEqual(names, ['public', 'private']);
}());
(function test_delete_sub() {