fix: remote post notifs missing bodyLong

This commit is contained in:
Barış Soner Uşaklı
2026-02-05 19:44:30 -05:00
parent 11d4dbcc8d
commit 18c04d34a6

View File

@@ -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([