Remove unnecessary call to build_stream_list().

In refresh_pinned_or_unpinned_stream(), we no longer call
build_stream_list(), because that's already called in
update_streams_sidebar().
This commit is contained in:
Steve Howell 2016-11-10 18:45:06 -08:00 committed by Tim Abbott
parent 16cb2bce8b
commit 13fbb96178
1 changed files with 0 additions and 1 deletions

View File

@ -507,7 +507,6 @@ exports.refresh_pinned_or_unpinned_stream = function (sub) {
// Pinned/unpinned streams require re-ordering.
// We use kind of brute force now, which is probably fine.
sub.sidebar_li = build_stream_sidebar_row(sub.name);
exports.build_stream_list();
exports.update_streams_sidebar();
};