Fix offline mode (#1071)

This commit is contained in:
Frej Alexander Nielsen 2023-01-22 20:09:58 +01:00 committed by GitHub
parent 046e3423e3
commit da85ee369e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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]