mirror of
https://github.com/Yonle/bostr.git
synced 2025-09-28 05:46:22 +02:00
@@ -176,7 +176,7 @@ function newConn(addr, id) {
|
|||||||
if (process.env.LOG_ABOUT_RELAYS || log_about_relays) console.log(process.pid, "---", `[${id}] [${socks.size}/${relays.length*csess.size}]`, relay.url, "is connected");
|
if (process.env.LOG_ABOUT_RELAYS || log_about_relays) console.log(process.pid, "---", `[${id}] [${socks.size}/${relays.length*csess.size}]`, relay.url, "is connected");
|
||||||
|
|
||||||
for (i of client.my_events) {
|
for (i of client.my_events) {
|
||||||
relay.send(JSON.stringify(i));
|
relay.send(JSON.stringify(["EVENT", i]));
|
||||||
}
|
}
|
||||||
|
|
||||||
for (i of client.subs) {
|
for (i of client.subs) {
|
||||||
|
Reference in New Issue
Block a user