favorite: send if alert active
This commit is contained in:
@@ -4809,7 +4809,7 @@ UserSchema.statics.addExtraInfo = async function (idapp, recUser, recUserSave, v
|
||||
|
||||
UserSchema.statics.updateVersion = async function (userversion, recUser) {
|
||||
|
||||
if (userversion < 063) {
|
||||
if (userversion < 603) {
|
||||
recUser.profile.notifs.push( { dir: 11, value: 1 })
|
||||
|
||||
await User.findOneAndUpdate({_id: recUser._id}, {$set: { 'profile.notifs': recUser.profile.notifs }});
|
||||
|
||||
Reference in New Issue
Block a user