Update index.html
This commit is contained in:
1 parent
aeb8958ef8
commit
5b59106575
1 file changed
+1
@@ -3004,6 +3004,7 @@
|
||||
var subId = super_nostr.bytesToHex( crypto.getRandomValues( new Uint8Array( 8 ) ) );
|
||||
var filter = {}
|
||||
filter.kinds = [ 4 ];
|
||||
filter[ "e" ] = [ pubkey ];
|
||||
filter.since = Math.floor( Date.now() / 1000 );
|
||||
var subscription = [ "REQ", subId, filter ];
|
||||
socket.send( JSON.stringify( subscription ) );
|
||||
|
||||
Reference in new issue
Block a user