mirror of
https://github.com/schlagmichdoch/PairDrop.git
synced 2025-04-21 15:26:17 -04:00
remove debugging logs
This commit is contained in:
parent
f39bfedf98
commit
0ac3c5a11f
1 changed files with 0 additions and 2 deletions
|
@ -734,7 +734,6 @@ class WSPeer extends Peer {
|
||||||
}
|
}
|
||||||
|
|
||||||
sendJSON(message) {
|
sendJSON(message) {
|
||||||
console.debug(message)
|
|
||||||
message.to = this._peerId;
|
message.to = this._peerId;
|
||||||
message.roomType = this._roomType;
|
message.roomType = this._roomType;
|
||||||
message.roomSecret = this._roomSecret;
|
message.roomSecret = this._roomSecret;
|
||||||
|
@ -854,7 +853,6 @@ class PeersManager {
|
||||||
|
|
||||||
_onWsDisconnected() {
|
_onWsDisconnected() {
|
||||||
for (const peerId in this.peers) {
|
for (const peerId in this.peers) {
|
||||||
console.debug(this.peers[peerId].rtcSupported);
|
|
||||||
if (this.peers[peerId] && (!this.peers[peerId].rtcSupported || !window.isRtcSupported)) {
|
if (this.peers[peerId] && (!this.peers[peerId].rtcSupported || !window.isRtcSupported)) {
|
||||||
Events.fire('peer-disconnected', peerId);
|
Events.fire('peer-disconnected', peerId);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue