From da85ee369eb3dc06ba7bcc13200423412ea474a5 Mon Sep 17 00:00:00 2001 From: Frej Alexander Nielsen Date: Sun, 22 Jan 2023 20:09:58 +0100 Subject: [PATCH] Fix offline mode (#1071) --- src/client/chat.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/chat.js b/src/client/chat.js index 3332376..f01e248 100644 --- a/src/client/chat.js +++ b/src/client/chat.js @@ -490,7 +490,7 @@ class LastSeenMessages extends Array { pending = 0 push (e) { - if (!e) return false // We do not acknowledge unsigned messages + if (!e || !e.signature) return false // We do not acknowledge unsigned messages // Insert a new entry at the top and shift everything to the right let last = this[0]