fix: field name importance

This commit is contained in:
Barış Soner Uşaklı
2023-09-22 10:15:34 -04:00
parent b8e43143cd
commit 8041f4d185

View File

@@ -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', {