Adopt libsignal-net version with no auto-reconnect
Co-authored-by: Jordan Rose <jrose@signal.org>
This commit is contained in:
parent
00e6071b1d
commit
30a419bb2a
7 changed files with 139 additions and 71 deletions
|
@ -10,6 +10,7 @@ import { getRandomBytes } from '../../Crypto';
|
|||
import * as Bytes from '../../Bytes';
|
||||
import { SignalService as Proto, Backups } from '../../protobuf';
|
||||
import { DataWriter } from '../../sql/Client';
|
||||
import { APPLICATION_OCTET_STREAM } from '../../types/MIME';
|
||||
import { generateAci } from '../../types/ServiceId';
|
||||
import { PaymentEventKind } from '../../types/Payment';
|
||||
import { ContactFormType } from '../../types/EmbeddedContact';
|
||||
|
@ -372,6 +373,11 @@ describe('backup/non-bubble messages', () => {
|
|||
packId: Bytes.toHex(getRandomBytes(16)),
|
||||
stickerId: 1,
|
||||
packKey: Bytes.toBase64(getRandomBytes(32)),
|
||||
data: {
|
||||
contentType: APPLICATION_OCTET_STREAM,
|
||||
error: true,
|
||||
size: 0,
|
||||
},
|
||||
},
|
||||
reactions: [
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue