Support server-determined build expiration

This commit is contained in:
Josh Perez 2020-09-09 18:50:44 -04:00 committed by Scott Nonnenberg
parent a04f9a0e51
commit d87335f5a6
14 changed files with 147 additions and 28 deletions

3
ts/window.d.ts vendored
View file

@ -22,6 +22,7 @@ import { LocalizerType } from './types/Util';
import { CallHistoryDetailsType } from './types/Calling';
import { ColorType } from './types/Colors';
import { ConversationController } from './ConversationController';
import { ReduxActions } from './state/types';
import { SendOptionsType } from './textsecure/SendMessage';
import AccountManager from './textsecure/AccountManager';
import Data from './sql/Client';
@ -49,6 +50,7 @@ declare global {
getSocketStatus: () => number;
getTitle: () => string;
waitForEmptyEventQueue: () => Promise<void>;
getVersion: () => string;
showCallingPermissionsPopup: (forCamera: boolean) => Promise<void>;
i18n: LocalizerType;
isValidGuid: (maybeGuid: string) => boolean;
@ -65,6 +67,7 @@ declare global {
};
normalizeUuids: (obj: any, paths: Array<string>, context: string) => any;
platform: string;
reduxActions: ReduxActions;
restart: () => void;
showWindow: () => void;
setBadgeCount: (count: number) => void;