mirror of https://github.com/zulip/zulip.git
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:
parent
16cb2bce8b
commit
13fbb96178
|
@ -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();
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue