修复IMLoginManager的userInfo可能为空的问题
This commit is contained in:
@@ -271,7 +271,7 @@ public class IMLoginManager extends BaseCacheManager {
|
||||
.execute(new HttpCallback() {
|
||||
@Override
|
||||
public void onSuccess(int code, String msg, String[] info) {
|
||||
if (info.length > 0) {
|
||||
if (info.length > 0 && userInfo != null) {
|
||||
if ("1".equals(info[0])) {
|
||||
userInfo.setIsAdmin("1");
|
||||
InstructorRemarkManager.get(context).getNetInstructorRemark();
|
||||
|
||||
Reference in New Issue
Block a user