fix minor bug
This commit is contained in:
@@ -384,6 +384,7 @@ const Notifications = {
|
|||||||
},
|
},
|
||||||
async yourGroupGotANewPost(groupProfile, senderProfile, message, post) {
|
async yourGroupGotANewPost(groupProfile, senderProfile, message, post) {
|
||||||
const DB = await DBGetter.getDB;
|
const DB = await DBGetter.getDB;
|
||||||
|
if(!groupProfile.subscribed) return 0;
|
||||||
let subscribedPromise = Object.keys(groupProfile.subscribed).map((profileid) => {
|
let subscribedPromise = Object.keys(groupProfile.subscribed).map((profileid) => {
|
||||||
return DB.getProfileCache(profileid);
|
return DB.getProfileCache(profileid);
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user