"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "ts/textsecure/AccountManager.ts" between
Signal-Desktop-1.35.2.tar.gz and Signal-Desktop-1.36.1.tar.gz

About: Signal-Desktop is a cross-platform encrypted messaging service (also available for mobile devices).

AccountManager.ts  (Signal-Desktop-1.35.2):AccountManager.ts  (Signal-Desktop-1.36.1)
skipping to change at line 613 skipping to change at line 613
async clearSessionsAndPreKeys() { async clearSessionsAndPreKeys() {
const store = window.textsecure.storage.protocol; const store = window.textsecure.storage.protocol;
window.log.info('clearing all sessions, prekeys, and signed prekeys'); window.log.info('clearing all sessions, prekeys, and signed prekeys');
await Promise.all([ await Promise.all([
store.clearPreKeyStore(), store.clearPreKeyStore(),
store.clearSignedPreKeysStore(), store.clearSignedPreKeysStore(),
store.clearSessionStore(), store.clearSessionStore(),
]); ]);
} }
async getGroupCredentials(startDay: number, endDay: number) {
return this.server.getGroupCredentials(startDay, endDay);
}
// Takes the same object returned by generateKeys // Takes the same object returned by generateKeys
async confirmKeys(keys: GeneratedKeysType) { async confirmKeys(keys: GeneratedKeysType) {
const store = window.textsecure.storage.protocol; const store = window.textsecure.storage.protocol;
const key = keys.signedPreKey; const key = keys.signedPreKey;
const confirmed = true; const confirmed = true;
if (!key) { if (!key) {
throw new Error('confirmKeys: signedPreKey is null'); throw new Error('confirmKeys: signedPreKey is null');
} }
 End of changes. 1 change blocks. 
0 lines changed or deleted 5 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)