chore(tool): conditionally activate the Sieve script

pull/265/head
Francis Lachapelle 2019-12-13 15:16:26 -05:00
parent 0ceccdd612
commit a25e5acba4
1 changed files with 3 additions and 1 deletions

View File

@ -127,7 +127,9 @@
account = [folder lookupName: @"0" inContext: localContext acquire: NO];
[account setContext: localContext];
result = [account updateFiltersWithUsername: theUsername andPassword: thePassword];
result = [account updateFiltersWithUsername: theUsername
andPassword: thePassword
forceActivation: NO];
if (!result)
{
// Can't update Sieve script -- Reactivate auto-reply