Minor update because of flow...

pull/1/head
yflory 2018-11-27 13:58:33 +01:00
parent 2a46b8f855
commit f5965716b6
1 changed files with 1 additions and 1 deletions

View File

@ -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), {}, {});
});