|
|
@ -9,7 +9,6 @@ const Nacl = require("tweetnacl/nacl-fast"); |
|
|
const Util = require("../common-util"); |
|
|
const Util = require("../common-util"); |
|
|
const nThen = require("nthen"); |
|
|
const nThen = require("nthen"); |
|
|
const Saferphore = require("saferphore"); |
|
|
const Saferphore = require("saferphore"); |
|
|
const Pinned = require('../../scripts/pinned'); |
|
|
|
|
|
|
|
|
|
|
|
//const escapeKeyCharacters = Util.escapeKeyCharacters;
|
|
|
//const escapeKeyCharacters = Util.escapeKeyCharacters;
|
|
|
const unescapeKeyCharacters = Util.unescapeKeyCharacters; |
|
|
const unescapeKeyCharacters = Util.unescapeKeyCharacters; |
|
|
@ -432,7 +431,7 @@ Pinning.getDeletedPads = function (Env, channels, cb) { |
|
|
|
|
|
|
|
|
// inform that the
|
|
|
// inform that the
|
|
|
Pinning.loadChannelPins = function (Env) { |
|
|
Pinning.loadChannelPins = function (Env) { |
|
|
Pinned.load(function (err, data) { |
|
|
|
|
|
|
|
|
Pins.list(function (err, data) { |
|
|
if (err) { |
|
|
if (err) { |
|
|
Env.Log.error("LOAD_CHANNEL_PINS", err); |
|
|
Env.Log.error("LOAD_CHANNEL_PINS", err); |
|
|
|
|
|
|
|
|
|