Gaute Hope <eg@gaute.vetsj.com> writes: > Hi, > > it seems to be necessary to actually call notmuch_threads_get (threads) > to move the thread iterator from a query object, just calling > notmuch_threads_move_to_next (..) is not enough: > I'm not sure of all the details, but it is true that the notmuch_threads_get has side effects in the database. In particular it allocates new thread-ids. So I can easily imagine things failing if you leave out the call. d