mirror of
https://github.com/schlagmichdoch/PairDrop.git
synced 2026-05-13 07:55:01 +00:00
fix WSPeer
whether WSPeer inherits from Peer as well as RTCPeer?
This commit is contained in:
@@ -413,7 +413,7 @@ class PeersManager {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
class WSPeer {
|
class WSPeer extends Peer {
|
||||||
_send(message) {
|
_send(message) {
|
||||||
message.to = this._peerId;
|
message.to = this._peerId;
|
||||||
this._server.send(message);
|
this._server.send(message);
|
||||||
|
|||||||
Reference in New Issue
Block a user