mirror of
https://gitgud.io/BondageProjects/Bondage-College.git
synced 2025-04-14 04:19:22 +00:00
FIX - ServerSendQueueProcess - data.Dictionary
This commit is contained in:
parent
488e9ba1a2
commit
012ab8ddb6
1 changed files with 3 additions and 3 deletions
|
@ -323,9 +323,9 @@ function ServerSendQueueProcess() {
|
|||
if (item) {
|
||||
if (item.Message === "ChatRoomChat") {
|
||||
const [data] = item.args;
|
||||
data[0].Dictionary = data[0].Dictionary ?? [];
|
||||
data[0].Dictionary.push({ Tag: "MsgId", MsgId: CommonGenerateUniqueID() });
|
||||
}
|
||||
data.Dictionary = data?.Dictionary ?? [];
|
||||
data.Dictionary.push({ Tag: "MsgId", MsgId: CommonGenerateUniqueID() });
|
||||
}
|
||||
ServerSocket.emit(item.Message, ...item.args);
|
||||
ServerSendRateLimitTimes.push(Date.now());
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue