No more type passed to removeAllConfiguration; keep more UI keys
This commit is contained in:
parent
046a3c4849
commit
d7177516c1
7 changed files with 31 additions and 51 deletions
|
@ -50,7 +50,6 @@ import type {
|
|||
UnprocessedUpdateType,
|
||||
CompatPreKeyType,
|
||||
} from './textsecure/Types.d';
|
||||
import type { RemoveAllConfiguration } from './types/RemoveAllConfiguration';
|
||||
import type { ServiceIdString, PniString, AciString } from './types/ServiceId';
|
||||
import { isServiceIdString, ServiceIdKind } from './types/ServiceId';
|
||||
import type { Address } from './types/Address';
|
||||
|
@ -2699,8 +2698,8 @@ export class SignalProtocolStore extends EventEmitter {
|
|||
this.emit('removeAllData');
|
||||
}
|
||||
|
||||
async removeAllConfiguration(mode: RemoveAllConfiguration): Promise<void> {
|
||||
await window.Signal.Data.removeAllConfiguration(mode);
|
||||
async removeAllConfiguration(): Promise<void> {
|
||||
await window.Signal.Data.removeAllConfiguration();
|
||||
await this.hydrateCaches();
|
||||
|
||||
window.storage.reset();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue