mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 08:36:12 +01:00
fix: field name importance
This commit is contained in:
@@ -41,7 +41,7 @@ Notifications.privilegedTypes = [
|
|||||||
|
|
||||||
const notificationPruneCutoff = 2592000000; // one month
|
const notificationPruneCutoff = 2592000000; // one month
|
||||||
|
|
||||||
const intFields = ['datetime', 'from', 'important', 'tid', 'pid', 'roomId'];
|
const intFields = ['datetime', 'from', 'importance', 'tid', 'pid', 'roomId'];
|
||||||
|
|
||||||
Notifications.getAllNotificationTypes = async function () {
|
Notifications.getAllNotificationTypes = async function () {
|
||||||
const results = await plugins.hooks.fire('filter:user.notificationTypes', {
|
const results = await plugins.hooks.fire('filter:user.notificationTypes', {
|
||||||
|
|||||||
Reference in New Issue
Block a user