Node.js based forum software built for the modern web
add roomId to messaging filter (#4596)
Paul Westerdale05a55c7d6560
diff --git a/src/messaging/create.js b/src/messaging/create.jsindex 3b2b5dcf26..cf78affb64 100644--- a/src/messaging/create.js+++ b/src/messaging/create.js@@ -55,7 +55,8 @@ module.exports = function(Messaging) {message = {content: content,timestamp: timestamp,- fromuid: fromuid+ fromuid: fromuid,+ roomId: roomId};plugins.fireHook('filter:messaging.save', message, next);