mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-03-03 19:11:22 +01:00
fix: remote post notifs missing bodyLong
This commit is contained in:
@@ -96,7 +96,7 @@ SocketHelpers.sendNotificationToPostOwner = async function (pid, fromuid, comman
|
|||||||
}
|
}
|
||||||
fromuid = utils.isNumber(fromuid) ? parseInt(fromuid, 10) : fromuid;
|
fromuid = utils.isNumber(fromuid) ? parseInt(fromuid, 10) : fromuid;
|
||||||
const [postData, fromCategory] = await Promise.all([
|
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),
|
!utils.isNumber(fromuid) && categories.exists(fromuid),
|
||||||
]);
|
]);
|
||||||
const [canRead, isIgnoring] = await Promise.all([
|
const [canRead, isIgnoring] = await Promise.all([
|
||||||
|
|||||||
Reference in New Issue
Block a user