Skip to content

Fix various replay queue wedges

Michael Gratton requested to merge wip/replay-queue-wedging into mainline

This fixes a couple of cases where the ReplayQueue drops operations when it shouldn't:

  1. When the queue is closing and being flushed, allow remote ops to obtain a remote session
  2. When a connection has been disconnected and cancelled commands that can be retried are actually retried

The should fix things like email flags changes not being applied on folder close (in case of the former), or a connection has gone bad and has to be re-established (in case of the latter), and other issues like frequent "Message not saved" messages (see #385 (closed)) and message bodies not being loaded (#215 (closed)) at least.

Fixes #215 (closed), #385 (closed)

Edited by Michael Gratton

Merge request reports