diff --git a/lib/im/database/message.dart b/lib/im/database/message.dart index 9f5b13c1..d25d8b64 100644 --- a/lib/im/database/message.dart +++ b/lib/im/database/message.dart @@ -79,7 +79,7 @@ createSendMessage(var toId, String content, {String attach, int msgType, userId, }; } -createMessage(var toId, Uint8List dataBytes, {String attach, int msgType, userId, replyId}) { +createMessage(var toId, Uint8List dataBytes, {String attach, int msgType, userId, replyId}) ccc{ String content = ""; MsgType type = MsgType.values[msgType]; if (type == MsgType.TEXT) { @@ -96,7 +96,6 @@ createMessage(var toId, Uint8List dataBytes, {String attach, int msgType, userId } } - return { "conversationId": conversationId(userId, toId), "fromId": userId,