fix: #10172, fix postqueue accept/reject notification text

isekai-main
Barış Soner Uşaklı 3 years ago
parent 4799efc790
commit 6a75ed50fa

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

Loading…
Cancel
Save