fix mailbox removal

This commit is contained in:
marlon-erler
2024-07-09 02:57:32 +02:00
parent 13e1e75e48
commit 72029a6923
3 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ export class Mailbox implements Subscriber {
}
get isExpired() {
if (this.ws) return false;
if (this.ws && this.ws.readyState == 1) return false;
const today = new Date();
return this.expiryDate < today;