mirror of
https://github.com/MikuLeaks/MikuSB.git
synced 2026-06-04 06:43:57 +00:00
Fixed a critical issue with in-game chat.
This commit is contained in:
@@ -160,9 +160,9 @@ public class PlayerInstance(PlayerGameData data)
|
||||
Sender = sendUid,
|
||||
Recver = recvUid,
|
||||
Emoji = emojiId ?? 0,
|
||||
Text = message ?? "",
|
||||
Text = ChatMessageHelper.NormalizeForClient(message),
|
||||
Profile = Data.ToProfileProto(),
|
||||
TimeStamp = (uint)Extensions.GetUnixMs()
|
||||
TimeStamp = ChatMessageHelper.BuildClientTimestamp()
|
||||
};
|
||||
|
||||
await SendPacket(CmdIds.NtfFriendChat, data);
|
||||
|
||||
Reference in New Issue
Block a user