mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-02-07 07:10:07 +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;
|
||||
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([
|
||||
|
||||
Reference in New Issue
Block a user