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

@ -19,6 +19,7 @@ import type { ProcessGroupCallRingRequestResult } from '../types/Calling';
import { StorageAccessType } from '../types/Storage.d';
import type { AttachmentType } from '../types/Attachment';
import { BodyRangesType } from '../types/Util';
import type { RemoveAllConfiguration } from '../types/RemoveAllConfiguration';
export type AttachmentDownloadJobTypeType =
| 'long-message'
@ -416,7 +417,7 @@ export type DataInterface = {
getRecentEmojis: (limit?: number) => Promise<Array<EmojiType>>;
removeAll: () => Promise<void>;
removeAllConfiguration: () => Promise<void>;
removeAllConfiguration: (type?: RemoveAllConfiguration) => Promise<void>;
getMessagesNeedingUpgrade: (
limit: number,