diff --git a/ts/services/storageRecordOps.ts b/ts/services/storageRecordOps.ts index 3df9d620eb86..8fc5732efb8c 100644 --- a/ts/services/storageRecordOps.ts +++ b/ts/services/storageRecordOps.ts @@ -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;