From 8041f4d185188d34ed6923347adf0de748799635 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Fri, 22 Sep 2023 10:15:34 -0400 Subject: [PATCH] fix: field name importance --- src/notifications.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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', {