Encrypted, ephemeral, private memos on atproto

fix(consumer): only list items for the current keypair

graham.systems 72e309f6 ee9625c5

verified
Changed files
+3
packages
consumer
+3
packages/consumer/mod.ts
··· 122 122 123 123 for (const record of res.data.records) { 124 124 const item = parse(AppCisternLexiconItem.mainSchema, record.value); 125 + 126 + if (item.pubkey !== this.keypair.publicKey) continue; 127 + 125 128 const decrypted = decryptText(this.keypair.privateKey, { 126 129 nonce: item.nonce, 127 130 cipherText: item.ciphertext,