diff --git a/src/notifications.js b/src/notifications.js index 74f17642ca..86e2f37ba9 100644 --- a/src/notifications.js +++ b/src/notifications.js @@ -41,7 +41,7 @@ Notifications.privilegedTypes = [ 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 () { const results = await plugins.hooks.fire('filter:user.notificationTypes', {