|
@@ -62,7 +62,9 @@ public class RCChatRoomMemberNumMessage extends MessageContent {
|
|
|
try {
|
|
|
// 消息携带用户信息时, 自定义消息需添加下面代码
|
|
|
if (!TextUtils.isEmpty(count)) {
|
|
|
- jsonObj.putOpt("count", count);
|
|
|
+ JSONObject jsonObject = new JSONObject();
|
|
|
+ jsonObject.putOpt("count", count);
|
|
|
+ jsonObj.put("content",jsonObject);
|
|
|
}
|
|
|
JSONObject jsonUserInfo = this.getJSONUserInfo();
|
|
|
if (jsonUserInfo != null) {
|