Browse Source

message type

wr_202303
zsw 4 months ago
parent
commit
48d50fe836
  1. 2
      lib/im/SocketClient.dart

2
lib/im/SocketClient.dart

@ -208,7 +208,7 @@ class SocketClient {
} }
} }
Future<Message> sendMessage(String toId, String content, {String attach, int msgType, replyId}) async { Future<Message> sendMessage(String toId, String content, {String attach, int msgType = 1, replyId}) async {
MsgType type = MsgType.values[msgType]; MsgType type = MsgType.values[msgType];
Uint8List data; Uint8List data;

Loading…
Cancel
Save