This commit is contained in:
boufni95 2025-07-24 18:01:38 +00:00
parent 7d30c9a90d
commit dc5f6fe531

View file

@ -379,7 +379,7 @@ export default class {
const ck = nip44.getConversationKey(Buffer.from(app.nostr_private_key, 'hex'), appUser.nostr_public_key)
const j = JSON.stringify(op)
const encrypted = nip44.encrypt(j, ck)
const encryptedData: { encrypted: string, app_npub: string } = { encrypted, app_npub: app.nostr_public_key }
const encryptedData: { encrypted: string, app_npub_hex: string } = { encrypted, app_npub_hex: app.nostr_public_key }
this.notificationsManager.SendNotification(JSON.stringify(encryptedData), tokens, {
pubkey: app.nostr_public_key!,
privateKey: app.nostr_private_key!