feat: zaps

This commit is contained in:
Alejandro Gomez
2023-02-03 22:38:14 +01:00
parent d1087d0405
commit eb77e91b57
17 changed files with 341 additions and 12 deletions

View File

@ -41,7 +41,7 @@ export default function useLoginFeed() {
let sub = new Subscriptions();
sub.Id = "login:notifications";
sub.Kinds = new Set([EventKind.TextNote]);
sub.Kinds = new Set([EventKind.TextNote, EventKind.ZapReceipt]);
sub.PTags = new Set([pubKey]);
sub.Limit = 1;
return sub;