mirror of https://github.com/calzoneman/sync.git
Fix leader issue
This commit is contained in:
parent
2018f3751f
commit
8b0c370ad0
2963
lib/channel-new.js
2963
lib/channel-new.js
File diff suppressed because it is too large
Load Diff
3967
lib/channel.js
3967
lib/channel.js
File diff suppressed because it is too large
Load Diff
|
@ -40,7 +40,7 @@ var http = require("http");
|
||||||
var https = require("https");
|
var https = require("https");
|
||||||
var express = require("express");
|
var express = require("express");
|
||||||
var Logger = require("./logger");
|
var Logger = require("./logger");
|
||||||
var Channel = require("./channel-new");
|
var Channel = require("./channel");
|
||||||
var User = require("./user");
|
var User = require("./user");
|
||||||
var $util = require("./utilities");
|
var $util = require("./utilities");
|
||||||
var ActionLog = require("./actionlog");
|
var ActionLog = require("./actionlog");
|
||||||
|
|
|
@ -297,7 +297,7 @@ User.prototype.initChannelCallbacks = function () {
|
||||||
});
|
});
|
||||||
|
|
||||||
wrapTypecheck("mediaUpdate", function (data) {
|
wrapTypecheck("mediaUpdate", function (data) {
|
||||||
self.channel.handleMediaUpdate(self, data);
|
self.channel.handleUpdate(self, data);
|
||||||
});
|
});
|
||||||
|
|
||||||
wrapTypecheck("searchMedia", function (data) {
|
wrapTypecheck("searchMedia", function (data) {
|
||||||
|
|
Loading…
Reference in New Issue