Remove Signal.Util
This commit is contained in:
parent
3a069323a4
commit
76b9d07acf
25 changed files with 132 additions and 202 deletions
43
ts/signal.ts
43
ts/signal.ts
|
@ -10,9 +10,6 @@ import Data from './sql/Client';
|
|||
import * as Groups from './groups';
|
||||
import * as OS from './OS';
|
||||
import * as RemoteConfig from './RemoteConfig';
|
||||
import * as GoogleChrome from './util/GoogleChrome';
|
||||
import * as Registration from './util/registration';
|
||||
import * as zkgroup from './util/zkgroup';
|
||||
|
||||
// Components
|
||||
import { ConfirmationDialog } from './components/ConfirmationDialog';
|
||||
|
@ -49,25 +46,6 @@ import type { EmbeddedContactType } from './types/EmbeddedContact';
|
|||
import type { ContactWithHydratedAvatar } from './textsecure/SendMessage';
|
||||
import type { LinkPreviewType } from './types/message/LinkPreviews';
|
||||
import type { StickerType, StickerWithHydratedData } from './types/Stickers';
|
||||
import { MessageController } from './util/MessageController';
|
||||
import {
|
||||
flushMessageCounter,
|
||||
incrementMessageCounter,
|
||||
initializeMessageCounter,
|
||||
} from './util/incrementMessageCounter';
|
||||
import { sleep } from './util/sleep';
|
||||
import {
|
||||
queueUpdateMessage,
|
||||
saveNewMessageBatcher,
|
||||
setBatchingStrategy,
|
||||
} from './util/messageBatcher';
|
||||
import { sendContentMessageToGroup, sendToGroup } from './util/sendToGroup';
|
||||
import { makeLookup } from './util/makeLookup';
|
||||
import { getStringForProfileChange } from './util/getStringForProfileChange';
|
||||
import { deleteForEveryone } from './util/deleteForEveryone';
|
||||
import { RetryPlaceholders } from './util/retryPlaceholders';
|
||||
import { parseRemoteClientExpiration } from './util/parseRemoteClientExpiration';
|
||||
import { createBatcher } from './util/batcher';
|
||||
|
||||
type MigrationsModuleType = {
|
||||
attachmentsPath: string;
|
||||
|
@ -422,26 +400,5 @@ export const setup = (options: {
|
|||
Services,
|
||||
State,
|
||||
Types,
|
||||
Util: {
|
||||
createBatcher,
|
||||
deleteForEveryone,
|
||||
flushMessageCounter,
|
||||
getStringForProfileChange,
|
||||
GoogleChrome,
|
||||
incrementMessageCounter,
|
||||
initializeMessageCounter,
|
||||
makeLookup,
|
||||
MessageController,
|
||||
parseRemoteClientExpiration,
|
||||
queueUpdateMessage,
|
||||
Registration,
|
||||
RetryPlaceholders,
|
||||
saveNewMessageBatcher,
|
||||
sendContentMessageToGroup,
|
||||
sendToGroup,
|
||||
setBatchingStrategy,
|
||||
sleep,
|
||||
zkgroup,
|
||||
},
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue