fix(GODT-2327): Only start processing events once sync is finished

This commit is contained in:
James Houlahan
2023-02-06 10:32:13 +01:00
committed by Jakub
parent 232875d5cc
commit 63bc87cc86
2 changed files with 52 additions and 46 deletions

View File

@ -187,9 +187,6 @@ func (bridge *Bridge) addIMAPUser(ctx context.Context, user *user.User) error {
// Trigger a sync for the user, if needed.
user.TriggerSync()
// Start processing events for the user.
user.StartEvents()
return nil
}