mirror of
https://github.com/Kopano-dev/kopano-ol-extension.git
synced 2023-10-10 13:37:40 +02:00
Removed some debug timing modifications
This commit is contained in:
parent
136a15d19c
commit
87a3a67b12
@ -149,8 +149,6 @@ namespace Acacia.ZPush
|
|||||||
Confirmed = Capabilities == null ? ConfirmationType.IsNotZPush : ConfirmationType.IsZPush;
|
Confirmed = Capabilities == null ? ConfirmationType.IsNotZPush : ConfirmationType.IsZPush;
|
||||||
Logger.Instance.Info(this, "ZPush confirmation: {0} -> {1}, {2}", Confirmed, Capabilities, GABFolder);
|
Logger.Instance.Info(this, "ZPush confirmation: {0} -> {1}, {2}", Confirmed, Capabilities, GABFolder);
|
||||||
|
|
||||||
//new Thread(() => { System.Threading.Thread.Sleep(30000); _confirmedChanged?.Invoke(this); }).Start();
|
|
||||||
//
|
|
||||||
_confirmedChanged?.Invoke(this);
|
_confirmedChanged?.Invoke(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -122,19 +122,14 @@ namespace Acacia.ZPush
|
|||||||
oof = connection.Execute(new ActiveSync.SettingsOOFGet());
|
oof = connection.Execute(new ActiveSync.SettingsOOFGet());
|
||||||
}
|
}
|
||||||
|
|
||||||
new Thread(() => { System.Threading.Thread.Sleep(30000);
|
account.OnConfirmationResponse(oof.RawResponse);
|
||||||
account.OnConfirmationResponse(oof.RawResponse);
|
|
||||||
Explorer_SelectionChange();
|
|
||||||
ThisAddIn.Instance.GetFeature<FeatureOutOfOffice>()?.OnOOFSettings(account, oof);
|
|
||||||
}).Start();
|
|
||||||
/*account.OnConfirmationResponse(oof.RawResponse);
|
|
||||||
|
|
||||||
// [ZO-109] Always update the current selection, it might have changed.
|
// [ZO-109] Always update the current selection, it might have changed.
|
||||||
Explorer_SelectionChange();
|
Explorer_SelectionChange();
|
||||||
|
|
||||||
// Notify the OOF feature.
|
// Notify the OOF feature.
|
||||||
// TODO: this coupling is pretty hideous
|
// TODO: this coupling is pretty hideous
|
||||||
ThisAddIn.Instance.GetFeature<FeatureOutOfOffice>()?.OnOOFSettings(account, oof);*/
|
ThisAddIn.Instance.GetFeature<FeatureOutOfOffice>()?.OnOOFSettings(account, oof);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user