From a20206dfafd3b0254743553df0d55d51cb76af54 Mon Sep 17 00:00:00 2001 From: liyi Date: Tue, 24 Dec 2024 14:20:30 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E8=B0=83=E6=95=B4=E6=98=9F=E5=9B=BE?= =?UTF-8?q?=E4=B8=8A=E7=BA=BF=E6=B6=88=E6=81=AF=E5=8C=85=E7=BB=93=E6=9E=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/talk/startChart/command/message_command.dart | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/talk/startChart/command/message_command.dart b/lib/talk/startChart/command/message_command.dart index 40038f1a..8f3ea1d5 100644 --- a/lib/talk/startChart/command/message_command.dart +++ b/lib/talk/startChart/command/message_command.dart @@ -21,8 +21,7 @@ class MessageCommand { static int _maxIntValue = 9223372036854775807; // Dart 中 int 的最大值 // 获取并递增消息ID - static int getNextMessageId(String toPeerId, {bool increment = true}) { - + static int getNextMessageId(String toPeerId, {bool increment = true}) { if (_messageIdMap.containsKey(toPeerId)) { if (increment) { _messageIdMap[toPeerId] = _messageIdMap[toPeerId]! + 1; @@ -51,7 +50,6 @@ class MessageCommand { SpIndex: 1, FromPeerId: FromPeerId, ToPeerId: ToPeerId, - Payload: [0], PayloadCRC: 0, PayloadLength: 0, PayloadType: PayloadTypeConstant.goOnline,