Update safety number change warning dialog
This commit is contained in:

committed by
Scott Nonnenberg

parent
e87a0103cc
commit
5b83485c89
7
ts/window.d.ts
vendored
7
ts/window.d.ts
vendored
@@ -13,9 +13,12 @@ import * as Crypto from './Crypto';
|
||||
import { ColorType, LocalizerType } from './types/Util';
|
||||
import { SendOptionsType } from './textsecure/SendMessage';
|
||||
|
||||
type TaskResultType = any;
|
||||
|
||||
declare global {
|
||||
interface Window {
|
||||
dcodeIO: DCodeIOType;
|
||||
getConversations: () => ConversationControllerType;
|
||||
getExpiration: () => string;
|
||||
getEnvironment: () => string;
|
||||
getSocketStatus: () => number;
|
||||
@@ -83,12 +86,16 @@ export type ConversationType = {
|
||||
getColor(): ColorType | undefined;
|
||||
getName(): string | undefined;
|
||||
getNumber(): string;
|
||||
getProfiles(): Promise<Array<Promise<void>>>;
|
||||
getProfileName(): string | undefined;
|
||||
getRecipients: () => Array<string>;
|
||||
getSendOptions(): SendOptionsType;
|
||||
getTitle(): string;
|
||||
isVerified(): boolean;
|
||||
safeGetVerified(): Promise<number>;
|
||||
getIsAddedByContact(): boolean;
|
||||
addCallHistory(details: CallHistoryDetailsType): void;
|
||||
toggleVerified(): Promise<TaskResultType>;
|
||||
};
|
||||
|
||||
export type ConversationControllerType = {
|
||||
|
Reference in New Issue
Block a user