set scroll offset when routing to thread

Signed-off-by: kernelkind <kernelkind@gmail.com>
This commit is contained in:
kernelkind
2025-08-04 16:09:27 -04:00
parent 97d15e41e7
commit e8be471608
3 changed files with 27 additions and 8 deletions

View File

@@ -93,7 +93,15 @@ fn execute_note_action(
};
timeline_res = threads
.open(ndb, txn, pool, &thread_selection, preview, col)
.open(
ndb,
txn,
pool,
&thread_selection,
preview,
col,
scroll_offset,
)
.map(NotesOpenResult::Thread);
let route = Route::Thread(thread_selection);