disable IS_PAD_PINNED

This commit is contained in:
ansuz committed 2020-03-12 11:31:08 -04:00
1 parent 96b92f472c
commit 1230057970
2 files changed
+2 -1

No files matched your search

+1
View File
@@ -546,6 +546,7 @@ const deferResponse = 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 (Env.pinsLoaded) {
return void cb(void 0, !isEmpty(Env.pinnedPads[channel]));