Enable pni capability
This commit is contained in:
parent
4ac21d2e82
commit
9206b9984b
2 changed files with 3 additions and 5 deletions
|
@ -29,7 +29,6 @@ import {
|
|||
import { formatAcceptLanguageHeader } from '../util/userLanguages';
|
||||
import { toWebSafeBase64, fromWebSafeBase64 } from '../util/webSafeBase64';
|
||||
import { getBasicAuth } from '../util/getBasicAuth';
|
||||
import { isPnpEnabled } from '../util/isPnpEnabled';
|
||||
import { createHTTPSAgent } from '../util/createHTTPSAgent';
|
||||
import { createProxyAgent } from '../util/createProxyAgent';
|
||||
import type { SocketStatus } from '../types/SocketStatus';
|
||||
|
@ -2254,7 +2253,7 @@ export function initialize({
|
|||
registrationId,
|
||||
pniRegistrationId,
|
||||
capabilities: {
|
||||
pni: isPnpEnabled(),
|
||||
pni: true,
|
||||
},
|
||||
unidentifiedAccessKey: Bytes.toBase64(accessKey),
|
||||
},
|
||||
|
@ -2307,7 +2306,7 @@ export function initialize({
|
|||
registrationId,
|
||||
pniRegistrationId,
|
||||
capabilities: {
|
||||
pni: isPnpEnabled(),
|
||||
pni: true,
|
||||
},
|
||||
},
|
||||
aciSignedPreKey: serializeSignedPreKey(aciSignedPreKey),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue