mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-29 01:56:12 +01:00
fix: #9398, crash on post flag
This commit is contained in:
@@ -64,7 +64,7 @@ async function canGet(hook, callerUid, uid) {
|
||||
}
|
||||
|
||||
Messaging.parse = async (message, fromuid, uid, roomId, isNew) => {
|
||||
const parsed = await plugins.hooks.fire('filter:parse.raw', message);
|
||||
const parsed = await plugins.hooks.fire('filter:parse.raw', String(message || ''));
|
||||
let messageData = {
|
||||
message: message,
|
||||
parsed: parsed,
|
||||
|
||||
Reference in New Issue
Block a user