09-12-netty优化
This commit is contained in:
@ -109,7 +109,7 @@ public class ChatGroupController {
|
|||||||
if (!list.isEmpty()) {
|
if (!list.isEmpty()) {
|
||||||
for (ChatGroup chatGroup : list) {
|
for (ChatGroup chatGroup : list) {
|
||||||
setValue(chatGroup, userId);
|
setValue(chatGroup, userId);
|
||||||
if (!searchObject.getName().isEmpty()) {
|
if (searchObject != null && searchObject.getName() != null && !searchObject.getName().isEmpty()) {
|
||||||
if (chatGroup.getName().contains(searchObject.getName())) {
|
if (chatGroup.getName().contains(searchObject.getName())) {
|
||||||
searchTemp.add(chatGroup);
|
searchTemp.add(chatGroup);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user