mirror of
https://github.com/cryptpad/cryptpad.git
synced 2026-09-14 11:05:41 +05:00
Fix contacts page infinite spinner #1415
This commit is contained in:
parent
fe481eda29
commit
1dd89159da
@ -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, {}, {});
|
||||
});
|
||||
|
||||
Loading…
Reference in New Issue
Block a user