|
|
@ -136,7 +136,7 @@ async function sendQueueNotification(type, targetUid, path, notificationText) {
|
|
|
|
const notifData = {
|
|
|
|
const notifData = {
|
|
|
|
type: type,
|
|
|
|
type: type,
|
|
|
|
nid: `${type}-${targetUid}-${path}`,
|
|
|
|
nid: `${type}-${targetUid}-${path}`,
|
|
|
|
bodyShort: `[[notifications:post-queue-notify, ${notificationText}]]` || `[[notifications:${type}]]`,
|
|
|
|
bodyShort: notificationText ? `[[notifications:${type}, ${notificationText}]]` : `[[notifications:${type}]]`,
|
|
|
|
path: path,
|
|
|
|
path: path,
|
|
|
|
};
|
|
|
|
};
|
|
|
|
if (parseInt(meta.config.postQueueNotificationUid, 10) > 0) {
|
|
|
|
if (parseInt(meta.config.postQueueNotificationUid, 10) > 0) {
|
|
|
|