Convert signal.js and preload.js to Typescript
This commit is contained in:
parent
e18510e41c
commit
2464e0a9c1
94 changed files with 2113 additions and 1848 deletions
|
@ -52,6 +52,7 @@ import { QualifiedAddress } from './types/QualifiedAddress';
|
|||
import * as log from './logging/log';
|
||||
import { singleProtoJobQueue } from './jobs/singleProtoJobQueue';
|
||||
import * as Errors from './types/errors';
|
||||
import MessageSender from './textsecure/SendMessage';
|
||||
|
||||
const TIMESTAMP_THRESHOLD = 5 * 1000; // 5 seconds
|
||||
|
||||
|
@ -1386,7 +1387,7 @@ export class SignalProtocolStore extends EventsMixin {
|
|||
|
||||
// Enqueue a null message with newly-created session
|
||||
await singleProtoJobQueue.add(
|
||||
window.textsecure.messaging.getNullMessage({
|
||||
MessageSender.getNullMessage({
|
||||
uuid: uuid.toString(),
|
||||
})
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue