mirror of
https://gitgud.io/BondageProjects/Bondage-College.git
synced 2025-04-23 00:39:19 +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) {
|
||||||
if (item.Message === "ChatRoomChat") {
|
if (item.Message === "ChatRoomChat") {
|
||||||
const [data] = item.args;
|
const [data] = item.args;
|
||||||
data[0].Dictionary = data[0].Dictionary ?? [];
|
data.Dictionary = data?.Dictionary ?? [];
|
||||||
data[0].Dictionary.push({ Tag: "MsgId", MsgId: CommonGenerateUniqueID() });
|
data.Dictionary.push({ Tag: "MsgId", MsgId: CommonGenerateUniqueID() });
|
||||||
}
|
}
|
||||||
ServerSocket.emit(item.Message, ...item.args);
|
ServerSocket.emit(item.Message, ...item.args);
|
||||||
ServerSendRateLimitTimes.push(Date.now());
|
ServerSendRateLimitTimes.push(Date.now());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue