From b13732f9ecc3fd238dea5b5be6c9d3379280eae3 Mon Sep 17 00:00:00 2001 From: Finn Stutzenstein Date: Mon, 1 Mar 2021 15:00:47 +0100 Subject: [PATCH] Do not clear chat notifications from local storage --- client/src/app/site/chat/services/chat-notification.service.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/client/src/app/site/chat/services/chat-notification.service.ts b/client/src/app/site/chat/services/chat-notification.service.ts index 7c59dc57c..f5ce6295d 100644 --- a/client/src/app/site/chat/services/chat-notification.service.ts +++ b/client/src/app/site/chat/services/chat-notification.service.ts @@ -43,6 +43,7 @@ export class ChatNotificationService { private openChatgroupIds: number[] = []; public constructor(private repo: ChatMessageRepositoryService, private storage: StorageService) { + this.storage.addNoClearKey(STORAGE_KEY); this.setup(); }