mirror of
https://github.com/zulip/zulip.git
synced 2025-11-15 11:22:04 +00:00
message lists: Rename update_items_for_muting to include topic.
This change will help avoid confusion with a similar method which will be added in further commits for user muting.
This commit is contained in:
committed by
Tim Abbott
parent
10cfd25456
commit
4bd7ec7c36
@@ -74,7 +74,7 @@ run_test("basics", () => {
|
||||
mld.remove([50]);
|
||||
assert_contents(mld, [10, 15, 20, 25, 30, 35, 40, 45, 60, 70]);
|
||||
|
||||
mld.update_items_for_muting();
|
||||
mld.update_items_for_topic_muting();
|
||||
assert_contents(mld, [10, 15, 20, 25, 30, 35, 40, 45, 60, 70]);
|
||||
|
||||
mld.reset_select_to_closest();
|
||||
|
||||
@@ -384,7 +384,7 @@ export class MessageList {
|
||||
}
|
||||
|
||||
update_topic_muting_and_rerender() {
|
||||
this.data.update_items_for_muting();
|
||||
this.data.update_items_for_topic_muting();
|
||||
if (this.data.excludes_muted_topics) {
|
||||
this.rerender();
|
||||
}
|
||||
|
||||
@@ -186,7 +186,7 @@ export class MessageListData {
|
||||
return this.messages_filtered_for_topic_mutes(messages);
|
||||
}
|
||||
|
||||
update_items_for_muting() {
|
||||
update_items_for_topic_muting() {
|
||||
if (!this.excludes_muted_topics) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user