mirror of
https://github.com/amark/gun.git
synced 2025-03-30 15:08:33 +00:00
Log for when peer.id is undefined.
This commit is contained in:
parent
6fd0e88dd5
commit
83f2aec1e3
@ -14,6 +14,7 @@
|
||||
} else {
|
||||
|
||||
}
|
||||
if (!peer.id) {console.log('[WARN] no peer.id %s', soul);}
|
||||
Gun.subscribe[soul] = Gun.subscribe[soul] || [];
|
||||
if (Gun.subscribe[soul].indexOf(peer) === -1) {
|
||||
Gun.subscribe[soul].push(peer);
|
||||
|
Loading…
x
Reference in New Issue
Block a user