修复禁言IM消息过来时,uid可能为空的问题

This commit is contained in:
zlzw 2022-12-14 14:36:28 +08:00
parent adcf005e62
commit 8f7adb3079

View File

@ -680,7 +680,7 @@ public class SocketRyClient {
//禁言别人,自己发言只能自己看到
if ("409100".equals(received.getRetcode())) {
String uid = map.getString("uid");
if (!uid.equals(CommonAppConfig.getInstance().getUid())) {
if (uid == null || !uid.equals(CommonAppConfig.getInstance().getUid())) {
return;
}
}