From 253545636b3156756d4871b71770aae1ef41aaa6 Mon Sep 17 00:00:00 2001 From: ansuz Date: Mon, 8 Apr 2019 18:18:48 +0200 Subject: [PATCH] add a note to fix some weird behaviour in storage/file --- storage/file.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/storage/file.js b/storage/file.js index 59256224a..ba092a14e 100644 --- a/storage/file.js +++ b/storage/file.js @@ -343,7 +343,7 @@ const messageBin = (env, chanName, msgBin, cb) => { chan.onError.splice(chan.onError.indexOf(complete), 1); if (!cb) { return; } //chan.messages.push(msg); - chan.atime = +new Date(); + chan.atime = +new Date(); // FIXME seems like odd behaviour that not passing a callback would result in not updating atime... complete(); }); });