mirror of
https://github.com/mjl-/mox.git
synced 2025-06-28 08:18:16 +03:00
webmail: when scrolling down, don't send another parsed message that will cause one of the new messages to be selected (unexpected jump in the ui)
This commit is contained in:
parent
d19c75559b
commit
f19f16bd8b
@ -1476,7 +1476,7 @@ func queryMessages(ctx context.Context, log *mlog.Log, acc *store.Account, tx *b
|
|||||||
}
|
}
|
||||||
mil := []MessageItem{mi}
|
mil := []MessageItem{mi}
|
||||||
if query.Threading != ThreadOff {
|
if query.Threading != ThreadOff {
|
||||||
more, xpm, err := gatherThread(log, tx, acc, v, m, page.DestMessageID, have == 0)
|
more, xpm, err := gatherThread(log, tx, acc, v, m, page.DestMessageID, page.AnchorMessageID == 0 && have == 0)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return fmt.Errorf("gathering thread messages for id %d, thread %d: %v", m.ID, m.ThreadID, err)
|
return fmt.Errorf("gathering thread messages for id %d, thread %d: %v", m.ID, m.ThreadID, err)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user