forked from Silverfish/proton-bridge
feat(GODT-2366): Handle failed message updates as creates
This handles the following case: - event says message was created - we try to fetch the message but API says the doesn’t exist yet — we skip applying the “message created” update - event then says message was updated at some point in the future - we try to handle it but fail because we don’t have the message — we should treat it as a creation
This commit is contained in:
2
go.mod
2
go.mod
@ -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.20230221114509-a4e1a32c42b9
|
||||
github.com/ProtonMail/gluon v0.14.2-0.20230221141542-0259255ec9ff
|
||||
github.com/ProtonMail/go-autostart v0.0.0-20210130080809-00ed301c8e9a
|
||||
github.com/ProtonMail/go-proton-api v0.4.1-0.20230217130533-0af5d2f08497
|
||||
github.com/ProtonMail/go-rfc5322 v0.11.0
|
||||
|
||||
Reference in New Issue
Block a user