王鹏鹏 2 лет назад
Родитель
Сommit
a8fcc8d658

+ 2 - 1
tuichat/src/main/java/com/tencent/qcloud/tuikit/tuichat/bean/CustomEndConsultationBean.java

@@ -30,7 +30,8 @@ public class CustomEndConsultationBean extends TUIMessageBean {
         String data = new String(v2TIMMessage.getCustomElem().getData());
         String description = v2TIMMessage.getCustomElem().getDescription();
         if (!TextUtils.isEmpty(description)) {
-            chatIdBean = new Gson().fromJson(description, ChatIdBean.class);
+            chatIdBean = new ChatIdBean();
+            chatIdBean.setChatId(description);
         }
 
         if (!TextUtils.isEmpty(data)) {