disable IS_PAD_PINNED
This commit is contained in:
parent
96b92f472c
commit
1230057970
@ -546,6 +546,7 @@ const deferResponse = function (Env, channel, cb) {
|
|||||||
};
|
};
|
||||||
|
|
||||||
Pinning.isChannelPinned = function (Env, channel, cb) {
|
Pinning.isChannelPinned = function (Env, channel, cb) {
|
||||||
|
return void cb(void 0, true); // XXX
|
||||||
// if the pins are fully loaded then you can answer yes/no definitively
|
// if the pins are fully loaded then you can answer yes/no definitively
|
||||||
if (Env.pinsLoaded) {
|
if (Env.pinsLoaded) {
|
||||||
return void cb(void 0, !isEmpty(Env.pinnedPads[channel]));
|
return void cb(void 0, !isEmpty(Env.pinnedPads[channel]));
|
||||||
|
|||||||
@ -198,7 +198,7 @@ RPC.create = function (Env, cb) {
|
|||||||
updateLimitDaily();
|
updateLimitDaily();
|
||||||
Env.intervals.dailyLimitUpdate = setInterval(updateLimitDaily, 24*3600*1000);
|
Env.intervals.dailyLimitUpdate = setInterval(updateLimitDaily, 24*3600*1000);
|
||||||
|
|
||||||
Pinning.loadChannelPins(Env);
|
//Pinning.loadChannelPins(Env); // XXX
|
||||||
|
|
||||||
// expire old sessions once per minute
|
// expire old sessions once per minute
|
||||||
Env.intervals.sessionExpirationInterval = setInterval(function () {
|
Env.intervals.sessionExpirationInterval = setInterval(function () {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user