解决接收好友请求异常的错误

This commit is contained in:
heavyrain.lee
2020-03-02 16:51:46 +08:00
parent 46211aae44
commit 4b89774206
2 changed files with 9 additions and 3 deletions
@@ -279,6 +279,9 @@ public class MemorySessionStore implements ISessionsStore {
@Override
public Session getSession(String clientID) {
if (StringUtil.isNullOrEmpty(clientID)) {
return null;
}
Session session = sessions.get(clientID);
if (session == null) {
LOG.error("Can't find the session for client <{}>", clientID);