|
|
|
@ -547,6 +547,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]));
|
|
|
|
@ -560,5 +561,6 @@ Pinning.isChannelPinned = function (Env, channel, cb) {
|
|
|
|
|
// as you learn that one account has pinned a file.
|
|
|
|
|
// negative responses have to wait until the end
|
|
|
|
|
deferResponse(Env, channel, cb);
|
|
|
|
|
*/
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|