feat: add toMid to chat messages

This commit is contained in:
Barış Soner Uşaklı
2023-08-06 02:33:28 -04:00
parent 9a07cdbd51
commit 0316f324e7
10 changed files with 173 additions and 65 deletions

View File

@@ -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,
});