From 16bffa1f159a3e2d0a1af4e449ab9fb8e5bbbb1b Mon Sep 17 00:00:00 2001 From: 18401019693 Date: Wed, 7 Sep 2022 17:40:29 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E7=94=A8=E6=88=B6=E5=88=B7?= =?UTF-8?q?=E6=96=B0=E6=A9=9F=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/yunbao/main/utils/PDLiveCustomConversationProvider.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/src/main/java/com/yunbao/main/utils/PDLiveCustomConversationProvider.java b/main/src/main/java/com/yunbao/main/utils/PDLiveCustomConversationProvider.java index 55b227695..0fa95042c 100644 --- a/main/src/main/java/com/yunbao/main/utils/PDLiveCustomConversationProvider.java +++ b/main/src/main/java/com/yunbao/main/utils/PDLiveCustomConversationProvider.java @@ -58,7 +58,7 @@ public class PDLiveCustomConversationProvider extends BaseConversationProvider { String targetId = uiConversation.mCore.getTargetId(); UserInfo userInfo = RongUserInfoManager.getInstance().getUserInfo(targetId); - if ((userInfo != null && !TextUtils.isEmpty(userInfo.getExtra()))|| TextUtils.equals(userInfo.getName(), "指导员测试")) { + if ((userInfo != null && !TextUtils.isEmpty(userInfo.getExtra()))) { IMLoginModel model = new Gson().fromJson(userInfo.getExtra(), IMLoginModel.class); //指导员对话逻辑 if ((model != null && TextUtils.equals(model.getIsAdmin(), "1")) ) {