Began sendFile method

This commit is contained in:
hydrabolt
2015-08-26 13:07:06 +01:00
parent 669c379a62
commit b1deaf58db
2 changed files with 16 additions and 4 deletions

View File

@@ -543,8 +543,14 @@ class Client {
}
sendFile(destination) {
sendFile(destination, file, callback = function (err, msg) { }) {
var self = this;
return new Promise(function(resolve, reject){
});
}
sendMessage(destination, message, callback = function (err, msg) { }, premessage = "") {
@@ -1047,7 +1053,7 @@ class Client {
} else {
channId = destination;
}
if(channId)
if (channId)
resolve(channId);
});
}