Minor update because of flow...

This commit is contained in:
yflory 2018-11-27 13:58:33 +01:00
parent 2a46b8f855
commit f5965716b6

View File

@ -511,7 +511,7 @@ define([
} }
// History cleared while we were offline // History cleared while we were offline
// ==> we asked for an invalid last known hash // ==> 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 () { messenger.setChannelHead(parsed.channel, '', function () {
getChannelMessagesSince(getChannel(parsed.channel), {}, {}); getChannelMessagesSince(getChannel(parsed.channel), {}, {});
}); });