Add PNI to debug log

This commit is contained in:
Fedor Indutny 2021-11-19 18:34:50 +01:00 committed by GitHub
parent 4afe1475d5
commit 555c6e6bfa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -185,6 +185,7 @@ try {
}
const ourUuid = window.textsecure.storage.user.getUuid();
const ourPni = window.textsecure.storage.user.getPni();
event.sender.send('additional-log-data-response', {
capabilities: ourCapabilities || {},
@ -198,6 +199,7 @@ try {
deviceId: window.textsecure.storage.user.getDeviceId(),
e164: window.textsecure.storage.user.getNumber(),
uuid: ourUuid && ourUuid.toString(),
pni: ourPni && ourPni.toString(),
conversationId: ourConversation && ourConversation.id,
},
});