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

@ -6,9 +6,8 @@ import * as sinon from 'sinon';
import { setup as setupI18n } from '../../../js/modules/i18n';
import enMessages from '../../../_locales/en/messages.json';
import { SendStatus } from '../../messages/MessageSendState';
import MessageSender, {
CallbackResultType,
} from '../../textsecure/SendMessage';
import MessageSender from '../../textsecure/SendMessage';
import { CallbackResultType } from '../../textsecure/Types.d';
import type { StorageAccessType } from '../../types/Storage.d';
import { SignalService as Proto } from '../../protobuf';