Added fetching thread history.

This commit is contained in:
Thomas Mathews 2022-12-26 11:56:56 -08:00
parent 6430640ec7
commit bba6f4b784
2 changed files with 15 additions and 0 deletions

View file

@ -18,6 +18,9 @@ function view_timeline_apply_mode(model, mode, opts={}) {
} else {
unsubscribe_explore();
}
if (mode == VM_THREAD) {
fetch_thread_history(thread_id, model.pool);
}
el.dataset.mode = mode;
switch(mode) {