mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 16:46:12 +01:00
fix: regression that caused non-public content with source.content to fail parsing
This commit is contained in:
@@ -373,7 +373,7 @@ Mocks.message = async (object) => {
|
|||||||
const message = {
|
const message = {
|
||||||
mid: object.id,
|
mid: object.id,
|
||||||
uid: object.attributedTo,
|
uid: object.attributedTo,
|
||||||
content: object.content,
|
content: object.sourceContent || object.content,
|
||||||
// ip: caller.ip,
|
// ip: caller.ip,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user