mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-12-23 00:40:23 +01:00
add roomId to messaging filter (#4596)
This commit is contained in:
committed by
Julian Lam
parent
cdf6560012
commit
05a55c7d65
@@ -55,7 +55,8 @@ module.exports = function(Messaging) {
|
|||||||
message = {
|
message = {
|
||||||
content: content,
|
content: content,
|
||||||
timestamp: timestamp,
|
timestamp: timestamp,
|
||||||
fromuid: fromuid
|
fromuid: fromuid,
|
||||||
|
roomId: roomId
|
||||||
};
|
};
|
||||||
|
|
||||||
plugins.fireHook('filter:messaging.save', message, next);
|
plugins.fireHook('filter:messaging.save', message, next);
|
||||||
|
|||||||
Reference in New Issue
Block a user