Translate errors before rejecting in SendMessage

This commit is contained in:
Fedor Indutny 2021-07-19 18:10:09 -07:00 committed by GitHub
parent c4a09b7507
commit 31989a7706
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 99 additions and 40 deletions

View file

@ -22,13 +22,12 @@ import { isEnabled } from '../RemoteConfig';
import { isOlderThan } from './timestamp';
import {
CallbackResultType,
GroupSendOptionsType,
SendOptionsType,
} from '../textsecure/SendMessage';
import { IdentityKeys, SenderKeys, Sessions } from '../LibSignalStores';
import { ConversationModel } from '../models/conversations';
import { DeviceType } from '../textsecure/Types.d';
import { DeviceType, CallbackResultType } from '../textsecure/Types.d';
import { getKeysForIdentifier } from '../textsecure/getKeysForIdentifier';
import { ConversationAttributesType } from '../model-types.d';
import {