Browse Source

пельмень апдейт 3.5

master
gsd 2 days ago
parent
commit
a78df343b0
  1. 6
      src/main/java/app/entities/messages/MessageSearch.java

6
src/main/java/app/entities/messages/MessageSearch.java

@ -20,7 +20,7 @@ public class MessageSearch {
}
public List<Long> getAccounts(ProfileService profileService) {
if (accounts == null) return null;
if (accounts == null || accounts.isEmpty()) return null;
List<Long> filtered = accounts.stream()
.map(profileService::GetSteamIDFromAnyData)
@ -40,10 +40,10 @@ public class MessageSearch {
}
public String getMessage() {
return message;
return message == null || message.isEmpty() ? null : "%"+message+"%";
}
public String getServerId() {
return serverId;
return serverId == null || serverId.isEmpty() ? null : serverId;
}
}

Loading…
Cancel
Save