forked from snxraven/LinkUp-P2P-Chat
It doesnt want to work 😭
This commit is contained in:
parent
d50e0df6a1
commit
2ff9c73585
@ -87,10 +87,8 @@ class Client extends EventEmitter {
|
|||||||
}
|
}
|
||||||
|
|
||||||
sendMessage(message) {
|
sendMessage(message) {
|
||||||
console.log(message);
|
console.log(message instanceof Message);
|
||||||
console.log(message.prototype);
|
console.log(message instanceof TextMessage);
|
||||||
console.log(Message.prototype);
|
|
||||||
console.log(Object.prototype.isPrototypeOf.call(Message.prototype, message.prototype));
|
|
||||||
|
|
||||||
console.log('Bot name:', this.botName);
|
console.log('Bot name:', this.botName);
|
||||||
const data = message.toJsonString();
|
const data = message.toJsonString();
|
||||||
|
Loading…
Reference in New Issue
Block a user