mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 08:36: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 = {
|
||||
mid: object.id,
|
||||
uid: object.attributedTo,
|
||||
content: object.content,
|
||||
content: object.sourceContent || object.content,
|
||||
// ip: caller.ip,
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user