소스 검색

只有在release 时才处理IM挤掉的回调

Steven 1 년 전
부모
커밋
e56942900e
1개의 변경된 파일8개의 추가작업 그리고 0개의 파일을 삭제
  1. 8 0
      KulexiuForTeacher/KulexiuForTeacher/Common/Base/LoginManger/TXIMLinsenter.m

+ 8 - 0
KulexiuForTeacher/KulexiuForTeacher/Common/Base/LoginManger/TXIMLinsenter.m

@@ -104,13 +104,21 @@
 - (void)onKickedOffline {
     // 被踢下线
     NSLog(@"----- 被踢下线");
+#ifdef DEBUG
+
+#else
     [[NSNotificationCenter defaultCenter] postNotificationName:@"otherLogin" object:nil];
+#endif
 }
 
 - (void)onUserSigExpired {
     // 在线时票据过期
     NSLog(@"----- 票据过期");
+#ifdef DEBUG
+
+#else
     [[NSNotificationCenter defaultCenter] postNotificationName:@"otherLogin" object:nil];
+#endif
 }
 
 #pragma mark ----