diff --git a/src/node/db/PadManager.js b/src/node/db/PadManager.js index ea21fe94a..2ecd6e274 100644 --- a/src/node/db/PadManager.js +++ b/src/node/db/PadManager.js @@ -170,6 +170,7 @@ exports.getPad = function(id, text, callback) { if(ERR(err, callback)) return; globalPads.set(id, pad); + padList.addPad(id); callback(null, pad); }); }