Skip to content

Node.js based forum software built for the modern web

use old settings if available

Barış Soner Uşaklı708fda9372ba
diff --git a/src/upgrades/1.7.6/notification_types.js b/src/upgrades/1.7.6/notification_types.js
index 156acc3769..d56e1d3324 100644
--- a/src/upgrades/1.7.6/notification_types.js
+++ b/src/upgrades/1.7.6/notification_types.js
@@ -15,9 +15,9 @@ module.exports = {
db.setObject('config', {
notificationType_upvote: config.notificationType_upvote || 'notification',
'notificationType_new-topic': config.notificationType_upvote || 'notification',
- 'notificationType_new-reply': config.notificationType_upvote || 'notification',
+ 'notificationType_new-reply': config.notificationType_upvote || config.sendPostNotifications || 'notification',
notificationType_follow: config.notificationType_upvote || 'notification',
- 'notificationType_new-chat': config.notificationType_upvote || 'notification',
+ 'notificationType_new-chat': config.notificationType_upvote || config.sendChatNotifications || 'notification',
'notificationType_group-invite': config.notificationType_upvote || 'notification',
}, next);
},