Add Signal.Startup module

This commit is contained in:
Daniel Gasienica
2018-04-04 18:10:34 -04:00
parent 29832c445a
commit ce8fe0d345
4 changed files with 181 additions and 0 deletions

View File

@@ -6,6 +6,8 @@ const LAST_PROCESSED_INDEX_KEY = 'attachmentMigration_lastProcessedIndex';
const IS_MIGRATION_COMPLETE_KEY = 'attachmentMigration_isComplete';
// Public API
exports.READ_RECEIPT_CONFIGURATION_SYNC = 'read-receipt-configuration-sync';
exports.getAttachmentMigrationLastProcessedIndex = connection =>
exports._getItem(connection, LAST_PROCESSED_INDEX_KEY);