修复禁言IM消息过来时,uid可能为空的问题
This commit is contained in:
parent
adcf005e62
commit
8f7adb3079
@ -680,7 +680,7 @@ public class SocketRyClient {
|
|||||||
//禁言别人,自己发言只能自己看到
|
//禁言别人,自己发言只能自己看到
|
||||||
if ("409100".equals(received.getRetcode())) {
|
if ("409100".equals(received.getRetcode())) {
|
||||||
String uid = map.getString("uid");
|
String uid = map.getString("uid");
|
||||||
if (!uid.equals(CommonAppConfig.getInstance().getUid())) {
|
if (uid == null || !uid.equals(CommonAppConfig.getInstance().getUid())) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user