Keep UI settings on heartbeat expiration

This commit is contained in:
Fedor Indutny 2021-08-30 14:39:57 -07:00 committed by GitHub
parent dcf29078f4
commit 798533a417
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 84 additions and 12 deletions

View file

@ -33,6 +33,7 @@ import { cleanDataForIpc } from './cleanDataForIpc';
import { ReactionType } from '../types/Reactions';
import { ConversationColorType, CustomColorType } from '../types/Colors';
import type { ProcessGroupCallRingRequestResult } from '../types/Calling';
import type { RemoveAllConfiguration } from '../types/RemoveAllConfiguration';
import {
ConversationModelCollectionType,
@ -1527,8 +1528,8 @@ async function removeAll() {
await channels.removeAll();
}
async function removeAllConfiguration() {
await channels.removeAllConfiguration();
async function removeAllConfiguration(type?: RemoveAllConfiguration) {
await channels.removeAllConfiguration(type);
}
async function cleanupOrphanedAttachments() {