From 4448521fdb2a5fea6ae9444624cdabca440640cc Mon Sep 17 00:00:00 2001 From: aeroreyna Date: Wed, 8 Feb 2023 20:00:05 -0500 Subject: [PATCH] fix minor bug --- notifications.js | 1 + 1 file changed, 1 insertion(+) diff --git a/notifications.js b/notifications.js index 3f07c08..3628dbf 100644 --- a/notifications.js +++ b/notifications.js @@ -384,6 +384,7 @@ const Notifications = { }, async yourGroupGotANewPost(groupProfile, senderProfile, message, post) { const DB = await DBGetter.getDB; + if(!groupProfile.subscribed) return 0; let subscribedPromise = Object.keys(groupProfile.subscribed).map((profileid) => { return DB.getProfileCache(profileid); });