Skip to content

Commit

Permalink
Fix syncing of "Off" setting for default timer
Browse files Browse the repository at this point in the history
  • Loading branch information
indutny-signal committed Jun 15, 2021
1 parent 584cede commit 562ab5a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions ts/services/storageRecordOps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -842,9 +842,7 @@ export async function mergeAccountRecord(
window.storage.put('primarySendsSms', primarySendsSms);
}

if (typeof universalExpireTimer === 'number') {
setUniversalExpireTimer(universalExpireTimer);
}
setUniversalExpireTimer(universalExpireTimer || 0);

const PHONE_NUMBER_SHARING_MODE_ENUM =
window.textsecure.protobuf.AccountRecord.PhoneNumberSharingMode;
Expand Down

0 comments on commit 562ab5a

Please sign in to comment.