From bd3e18d1a87d93caf63faeca7e81f3bfe0527758 Mon Sep 17 00:00:00 2001 From: ansuz Date: Wed, 8 Apr 2020 12:08:26 -0400 Subject: [PATCH] only cache a user's pinned channels if there are no errors when loading them --- lib/commands/pin-rpc.js | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/commands/pin-rpc.js b/lib/commands/pin-rpc.js index 258c6f53b..a6f1642c6 100644 --- a/lib/commands/pin-rpc.js +++ b/lib/commands/pin-rpc.js @@ -49,7 +49,6 @@ var loadUserPins = function (Env, safeKey, cb) { // only put this into the cache if it completes session.channels = value; } - session.channels = value; done(value); }); });