Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Windows
pEp for Outlook
Commits
abd29576
Commit
abd29576
authored
Mar 19, 2021
by
Thomas
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
OUT-795: Disable all sync channels on startup and enable for individual accounts
parent
0b3523c7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
ThisAddIn.cs
ThisAddIn.cs
+6
-0
No files found.
ThisAddIn.cs
View file @
abd29576
...
@@ -718,6 +718,9 @@ namespace pEp
...
@@ -718,6 +718,9 @@ namespace pEp
{
{
Log
.
Warning
(
"RegisterMyself: Engine returned exception, "
+
ex
.
ToString
());
Log
.
Warning
(
"RegisterMyself: Engine returned exception, "
+
ex
.
ToString
());
}
}
// Enable Sync if necessary
acctSettings
.
SignalSyncSettingsToEngine
();
}
}
else
else
{
{
...
@@ -2243,6 +2246,9 @@ namespace pEp
...
@@ -2243,6 +2246,9 @@ namespace pEp
Log
.
Info
(
"ThisAddIn_Startup: Connect Events"
);
Log
.
Info
(
"ThisAddIn_Startup: Connect Events"
);
Globals
.
ConnectEvents
(
true
);
Globals
.
ConnectEvents
(
true
);
// Disable Sync for all identities (will be enabled later per account)
AdapterExtensions
.
ExecuteWithPassphraseCheck
(
ThisAddIn
.
PEPEngine
.
DisableAllSyncChannels
);
/* Sync accounts list. This must be done before RegisterMyself()
/* Sync accounts list. This must be done before RegisterMyself()
* to be able to set the not for sync flag if necessary.
* to be able to set the not for sync flag if necessary.
*/
*/
...
...
Thomas
@thomas
mentioned in commit
b7701d36
·
Apr 08, 2021
mentioned in commit
b7701d36
mentioned in commit b7701d360ccaa155aa7ce2ad44ed60e13ee40c50
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment