fix transaction crash regression when opening thread

small oversight

Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
William Casarin
2024-09-02 18:12:12 -07:00
parent 6a989e388b
commit 4c61c337bd
3 changed files with 11 additions and 13 deletions

View File

@@ -71,7 +71,7 @@ impl<'a> ThreadView<'a> {
};
// poll for new notes and insert them into our existing notes
if let Err(e) = TimelineSource::Thread(root_id).poll_notes_into_view(self.app) {
if let Err(e) = TimelineSource::Thread(root_id).poll_notes_into_view(&txn, self.app) {
error!("Thread::poll_notes_into_view: {e}");
}