mirror of
https://github.com/oxen-io/session-ios.git
synced 2023-12-13 21:30:14 +01:00
0706edf42a
In order for others to know they should start a new session with us, we need to change our registration id. To achieve this, I consolidated all the Account related attributes on TSAccountManager - luckily they were already in the proper collection, I just moved the API to hang on the AccountManager instead of a TSStorage category extension. Also: @synchronize access to `registrationId` // FREEBIE
26 lines
574 B
C
26 lines
574 B
C
//
|
|
// Copyright (c) 2017 Open Whisper Systems. All rights reserved.
|
|
//
|
|
|
|
#ifndef TextSecureKit_TSStorageKeys_h
|
|
#define TextSecureKit_TSStorageKeys_h
|
|
|
|
/**
|
|
* Preferences exposed to the user
|
|
*/
|
|
|
|
#pragma mark User Preferences
|
|
|
|
#define TSStorageUserPreferencesCollection @"TSStorageUserPreferencesCollection"
|
|
|
|
|
|
/**
|
|
* Internal settings of the application, not exposed to the user.
|
|
*/
|
|
|
|
#pragma mark Internal Settings
|
|
|
|
#define TSStorageInternalSettingsCollection @"TSStorageInternalSettingsCollection"
|
|
#define TSStorageInternalSettingsVersion @"TSLastLaunchedVersion"
|
|
|
|
#endif
|