Send support for Sender Key
This commit is contained in:
parent
d8417e562b
commit
e6f1ec2b6b
30 changed files with 2290 additions and 911 deletions
|
@ -67,6 +67,15 @@ export class Sessions extends SessionStore {
|
|||
|
||||
return record || null;
|
||||
}
|
||||
|
||||
async getExistingSessions(
|
||||
addresses: Array<ProtocolAddress>
|
||||
): Promise<Array<SessionRecord>> {
|
||||
const encodedAddresses = addresses.map(encodedNameFromAddress);
|
||||
return window.textsecure.storage.protocol.loadSessions(encodedAddresses, {
|
||||
zone: this.zone,
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
export type IdentityKeysOptions = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue