fix(k2) Ensure order correct order when running syncback requests

When running syncback requests, if a task is meant to change the UID of
a message (e.g. move it to a new folder), that task should be run after
other tasks that don't affect the UID. Otherwise, when trying to run the
other tasks, they would reference a UID that is no longer valid.

This commit will make sure that we run any tasks that will change message uids last,
/and/ make sure that we don't run more than 1 task that will affect the uids of
the same messages in a row (i.e. without running a sync loop in between)
This commit is contained in:
Juan Tejada 2016-12-06 15:45:46 -08:00
parent 68e596bdf4
commit d08da72ae2

2
src/K2

@ -1 +1 @@
Subproject commit 80a54a44a445b1dc1f1e8ca8ac6c71dd460ea9a3
Subproject commit 29b7c80dff3a519a8f2da672b9698ec93550659b