|
@@ -6,7 +6,7 @@ const getInKey = (realKey) => {
|
|
|
return `${prefix}:${realKey}`;
|
|
return `${prefix}:${realKey}`;
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
-const createMessage = async (roomId, user, msg) => {
|
|
|
|
|
|
|
+const createMessage = (roomId, user, msg) => {
|
|
|
const msgConfigKey = `msg:${roomId}`;
|
|
const msgConfigKey = `msg:${roomId}`;
|
|
|
const msgObj = {
|
|
const msgObj = {
|
|
|
...user,
|
|
...user,
|