Pass mode in unlinkAndDisconnect
event listener
This commit is contained in:
parent
9890a51f25
commit
62cf51c060
1 changed files with 3 additions and 1 deletions
|
@ -1607,7 +1607,9 @@ export async function startApp(): Promise<void> {
|
|||
window._.debounce(enqueueReconnectToWebSocket, 1000, { maxWait: 5000 })
|
||||
);
|
||||
|
||||
window.Whisper.events.on('unlinkAndDisconnect', unlinkAndDisconnect);
|
||||
window.Whisper.events.on('unlinkAndDisconnect', () => {
|
||||
unlinkAndDisconnect(RemoveAllConfiguration.Full);
|
||||
});
|
||||
|
||||
function runStorageService() {
|
||||
window.Signal.Services.enableStorageService();
|
||||
|
|
Loading…
Reference in a new issue