Drop support for signaling key

This commit is contained in:
Fedor Indutny 2021-07-19 18:11:07 -07:00 committed by GitHub
parent 31989a7706
commit 886e8966ff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 5 additions and 85 deletions

View file

@ -158,13 +158,6 @@ export default class AccountManager extends EventTarget {
await window.textsecure.storage.user.setDeviceNameEncrypted();
}
async maybeDeleteSignalingKey() {
const key = window.textsecure.storage.user.getSignalingKey();
if (key) {
await this.server.removeSignalingKey();
}
}
async registerSingleDevice(number: string, verificationCode: string) {
return this.queueTask(async () => {
const identityKeyPair = generateKeyPair();