message_list_data: Remove dependency on filter.js.

This commit removes dependency on `filter.js` by lifting the construction
of `Filter` object up in `all_messages_data.js`.
This commit is contained in:
Lalit
2023-05-10 21:24:31 +05:30
committed by Tim Abbott
parent fc22b86eb6
commit 9e1b4dafc0
4 changed files with 31 additions and 10 deletions

View File

@@ -1,5 +1,7 @@
import {Filter} from "./filter";
import {MessageListData} from "./message_list_data";
export const all_messages_data = new MessageListData({
excludes_muted_topics: false,
filter: new Filter(),
});