fix minor bug

This commit is contained in:
aeroreyna
2023-02-08 20:00:05 -05:00
parent 7ff9223a5c
commit 4448521fdb

View File

@@ -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);
});