Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

587 B
Raw Blame
import {Filter} from "./filter.ts";
import {MessageListData} from "./message_list_data.ts";

// This only has messages for which user has UserMessages, we can
// assume that the history is contiguous for most cases but not always
// due to missing history of messages with UserMessages.
export let recent_view_messages_data = new MessageListData({
    excludes_muted_topics: false,
    excludes_muted_users: false,
    filter: new Filter([]),
});

export function rewire_recent_view_messages_data(value: typeof recent_view_messages_data): void {
    recent_view_messages_data = value;
}