webrtc connector working

This commit is contained in:
Kevin Jahns
2015-07-14 22:39:01 +02:00
parent 6b153896dd
commit 9b3fe2f197
8 changed files with 37 additions and 12 deletions

View File

@@ -113,6 +113,9 @@ class AbstractConnector { //eslint-disable-line no-unused-vars
}
// You received a raw message, and you know that it is intended for to Yjs. Then call this function.
receiveMessage (sender, m){
if (sender === this.userId) {
return;
}
if (this.debug) {
console.log(`${sender} -> ${this.userId}: ${JSON.stringify(m)}`); //eslint-disable-line
}