瀏覽代碼

加强代码逻辑

Pq 1 年之前
父節點
當前提交
1604b353cc

+ 1 - 1
classRoom/src/main/java/com/dayayuemeng/classroom/ui/StudentNetClassRoomActivity.java

@@ -728,7 +728,7 @@ public class StudentNetClassRoomActivity extends BaseMVPActivity<AcNetClassRoomS
     @Override
     public void connectIMError(int code, String desc) {
         hideLoading();
-        Log.i(TAG, "joinGroupError errorCode:" + code + "--errorStr:" + desc);
+        Log.i(TAG, "connectIMError errorCode:" + code + "--errorStr:" + desc);
         ToastUtil.getInstance().show(this, "IM连接失败");
         finish();
     }

+ 1 - 0
tclive/src/main/java/com/daya/tclive/ui/TCTeacherLiveRoomActivity.java

@@ -860,6 +860,7 @@ public class TCTeacherLiveRoomActivity extends BaseMVPActivity<ActivityTcTeacher
     @Override
     public void connectIMError(int errorCode, String errorMsg) {
         ToastUtil.getInstance().show(this, "加入直播间群聊异常,请退出重试");
+        finish();
     }
 
     @Override