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