1
0
Fork 0
forked from Mirrors/gomuks

Return errors from sync in headless mode

This commit is contained in:
FIGBERT 2023-08-14 13:34:41 -07:00
parent 3b333aef02
commit 8a1e095f58
No known key found for this signature in database
GPG key ID: 67F1598D607A844B

View file

@ -87,6 +87,9 @@ func Init(conf Config, updates chan fmt.Stringer) error {
gmx.Matrix().(*matrix.Container).InitSyncer() gmx.Matrix().(*matrix.Container).InitSyncer()
updates <- processingSync{} updates <- processingSync{}
err = gmx.Matrix().(*matrix.Container).ProcessSyncResponse(resp, "") err = gmx.Matrix().(*matrix.Container).ProcessSyncResponse(resp, "")
if err != nil {
return err
}
updates <- syncFinished{} updates <- syncFinished{}
// verify (fetch) // verify (fetch)