|
|
@@ -135,6 +135,7 @@ class ChatVM : BaseListViewModel<ChatItem>() {
|
|
|
if (!l.startsWith("data:{")) continue
|
|
|
val json = l.removePrefix("data:").trim()
|
|
|
val model = GsonImplHelp.get().toObject(json, ChatModel::class.java)
|
|
|
+ result.postValue(UUID.randomUUID().toString())
|
|
|
if (model.type == null) {
|
|
|
loading.postValue(false)
|
|
|
val msg = model.msg ?: json
|