mirror of
https://github.com/melvincarvalho/nostrefresh.git
synced 2025-12-17 08:04:19 +01:00
quotes
This commit is contained in:
2
index.js
2
index.js
@@ -12,7 +12,7 @@
|
|||||||
now = Math.floor(now / 1000.0)
|
now = Math.floor(now / 1000.0)
|
||||||
let subscribe = `["REQ", "tail", {"since": ${now} }]`
|
let subscribe = `["REQ", "tail", {"since": ${now} }]`
|
||||||
if (qs.pubkey) {
|
if (qs.pubkey) {
|
||||||
subscribe = `["REQ", "tail", { "authors": [${qs.pubkey}], "since": ${now} }]`
|
subscribe = `["REQ", "tail", { "authors": ["${qs.pubkey}"], "since": ${now} }]`
|
||||||
}
|
}
|
||||||
console.log(subscribe)
|
console.log(subscribe)
|
||||||
socket.send(subscribe)
|
socket.send(subscribe)
|
||||||
|
|||||||
Reference in New Issue
Block a user