mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-18 03:31:03 +01:00
feat: add toMid to chat messages
This commit is contained in:
@@ -87,6 +87,7 @@ chatsAPI.post = async (caller, data) => {
|
||||
uid: caller.uid,
|
||||
roomId: data.roomId,
|
||||
content: data.message,
|
||||
toMid: data.toMid,
|
||||
timestamp: Date.now(),
|
||||
ip: caller.ip,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user