mirror of
https://github.com/logsol/chuck.js.git
synced 2026-05-11 18:47:35 +00:00
added joints
This commit is contained in:
parent
fa110ff4a8
commit
764220675b
10 changed files with 111 additions and 24 deletions
|
|
@ -26,6 +26,7 @@ function (NotificationCenter, childProcess) {
|
|||
var self = this;
|
||||
}
|
||||
|
||||
// While creating user
|
||||
PipeToChannel.prototype.send = function (recipient, data) {
|
||||
var message = {
|
||||
recipient: recipient,
|
||||
|
|
@ -35,6 +36,7 @@ function (NotificationCenter, childProcess) {
|
|||
this.channelPipe.send(message);
|
||||
}
|
||||
|
||||
// If user already created
|
||||
PipeToChannel.prototype.sendToUser = function (id, data) {
|
||||
var message = {
|
||||
recipient: "user/" + id,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue