GODT-2196: Do not generate message updates for unknown labels

During sync a user may continue to perform operations on the server it
is possible we run into a message which has a labelID we are not aware
of. To counter this we issue `CreateMessage` updates with
`IgnoreUnknownMailboxIDs` set to true. Eventually, after sync the state
will resolve itself with events.
This commit is contained in:
Leander Beernaert
2022-12-14 11:38:48 +01:00
parent 48480bc839
commit 4b3d4690e8
5 changed files with 134 additions and 8 deletions

2
go.mod
View File

@ -5,7 +5,7 @@ go 1.18
require (
github.com/0xAX/notificator v0.0.0-20220220101646-ee9b8921e557
github.com/Masterminds/semver/v3 v3.1.1
github.com/ProtonMail/gluon v0.14.2-0.20221214122222-2ab5c92d3546
github.com/ProtonMail/gluon v0.14.2-0.20221215082650-7ba466ad6482
github.com/ProtonMail/go-autostart v0.0.0-20210130080809-00ed301c8e9a
github.com/ProtonMail/go-proton-api v0.2.2-0.20221213121236-3439b3eda101
github.com/ProtonMail/go-rfc5322 v0.11.0