From f5965716b6130d921d262b7c18e58b1dbb36a2d6 Mon Sep 17 00:00:00 2001 From: yflory Date: Tue, 27 Nov 2018 13:58:33 +0100 Subject: [PATCH] Minor update because of flow... --- www/common/common-messenger.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/common/common-messenger.js b/www/common/common-messenger.js index 7d1116981..61d9a272b 100644 --- a/www/common/common-messenger.js +++ b/www/common/common-messenger.js @@ -511,7 +511,7 @@ define([ } // History cleared while we were offline // ==> we asked for an invalid last known hash - if (parsed.error && parsed.errorCode === "EINVAL") { + if (parsed.error && parsed.error === "EINVAL") { messenger.setChannelHead(parsed.channel, '', function () { getChannelMessagesSince(getChannel(parsed.channel), {}, {}); });