Use untagged pnis in storage service
This commit is contained in:
parent
283ef57779
commit
eb7942dd1e
16 changed files with 530 additions and 62 deletions
|
@ -9,6 +9,7 @@ import * as durations from '../../util/durations';
|
|||
import { Bootstrap } from '../bootstrap';
|
||||
import type { App } from '../bootstrap';
|
||||
import { ReceiptType } from '../../types/Receipt';
|
||||
import { toUntaggedPni } from '../../types/ServiceId';
|
||||
|
||||
export const debug = createDebug('mock:test:challenge:receipts');
|
||||
|
||||
|
@ -49,7 +50,7 @@ describe('challenge/receipts', function challengeReceiptsTest() {
|
|||
whitelisted: true,
|
||||
serviceE164: contact.device.number,
|
||||
identityKey: contact.getPublicKey(ServiceIdKind.PNI).serialize(),
|
||||
pni: contact.device.getServiceIdByKind(ServiceIdKind.PNI),
|
||||
pni: toUntaggedPni(contact.device.pni),
|
||||
givenName: 'Jamie',
|
||||
},
|
||||
ServiceIdKind.PNI
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue