Fix leader issue

This commit is contained in:
calzoneman 2014-01-27 16:44:22 -06:00
parent 2018f3751f
commit 8b0c370ad0
4 changed files with 2177 additions and 4757 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -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");

View File

@ -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) {