diff --git a/www/common/outer/messenger.js b/www/common/outer/messenger.js index 1aec3d51d..ac3c756cd 100644 --- a/www/common/outer/messenger.js +++ b/www/common/outer/messenger.js @@ -382,7 +382,8 @@ define([ } // History cleared while we were offline // ==> we asked for an invalid last known hash - if (parsed.error && parsed.error === "EINVAL") { + if (parsed.error && (parsed.error === "EINVAL" + || parsed.error === "EUNKNOWN")) { setChannelHead(ctx, parsed.channel, '', function () { getChannelMessagesSince(ctx, channel, {}, {}); });