Skip to content

Node.js based forum software built for the modern web

fix: remote post notifs missing bodyLong

Barış Soner Uşaklı18c04d34a659
diff --git a/src/socket.io/helpers.js b/src/socket.io/helpers.js
index 9841c73578..844e2bd535 100644
--- a/src/socket.io/helpers.js
+++ b/src/socket.io/helpers.js
@@ -96,7 +96,7 @@ SocketHelpers.sendNotificationToPostOwner = async function (pid, fromuid, comman
}
fromuid = utils.isNumber(fromuid) ? parseInt(fromuid, 10) : fromuid;
const [postData, fromCategory] = await Promise.all([
- posts.getPostFields(pid, ['tid', 'uid', 'content']),
+ posts.getPostFields(pid, ['tid', 'uid', 'content', 'sourceContent']),
!utils.isNumber(fromuid) && categories.exists(fromuid),
]);
const [canRead, isIgnoring] = await Promise.all([