mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-15 14:56:42 +00:00
feat(GODT-2822): Integrate and activate all service
The bridge now runs on the new architecture.
This commit is contained in:
@ -200,7 +200,7 @@ func (s *Service) CancelSync(ctx context.Context) error {
|
||||
}
|
||||
|
||||
func (s *Service) ResumeSync(ctx context.Context) error {
|
||||
_, err := s.cpc.Send(ctx, &cancelSyncReq{})
|
||||
_, err := s.cpc.Send(ctx, &resumeSyncReq{})
|
||||
|
||||
return err
|
||||
}
|
||||
|
||||
@ -41,10 +41,6 @@ func (s *Service) onAddressEvent(ctx context.Context, events []proton.AddressEve
|
||||
return nil
|
||||
}
|
||||
|
||||
if s.addressMode != usertypes.AddressModeSplit {
|
||||
return nil
|
||||
}
|
||||
|
||||
for _, event := range events {
|
||||
switch event.Action {
|
||||
case proton.EventCreate:
|
||||
|
||||
Reference in New Issue
Block a user