Include ACI+Access Keys pairs with CDSI requests

This commit is contained in:
Fedor Indutny 2022-08-18 13:44:53 -07:00 committed by GitHub
parent 13046dc020
commit 757af2cbbe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
17 changed files with 145 additions and 144 deletions

View file

@ -671,9 +671,9 @@ export default class OutgoingMessage {
if (isValidUuid(identifier)) {
// We're good!
} else if (isValidNumber(identifier)) {
if (!window.textsecure.messaging) {
if (!window.textsecure.server) {
throw new Error(
'sendToIdentifier: window.textsecure.messaging is not available!'
'sendToIdentifier: window.textsecure.server is not available!'
);
}
@ -683,7 +683,7 @@ export default class OutgoingMessage {
conversations: [
window.ConversationController.getOrCreate(identifier, 'private'),
],
messaging: window.textsecure.messaging,
server: window.textsecure.server,
});
const uuid =