Fix contacts page infinite spinner #1415

This commit is contained in:
yflory 2024-10-14 17:16:27 +02:00
parent fe481eda29
commit 1dd89159da

View File

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