From b46f6d1f8269aa139e8c88689113e1c70c5d68bd Mon Sep 17 00:00:00 2001 From: wchao Date: Sun, 27 May 2018 18:04:26 +0800 Subject: [PATCH] =?UTF-8?q?fix=E6=8F=A1=E6=89=8B=E7=8E=AF=E8=8A=82,?= =?UTF-8?q?=E4=B8=8D=E5=90=8C=E6=84=8F=E6=8F=A1=E6=89=8B=E6=97=B6=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0return=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/org/jim/server/command/handler/HandshakeReqHandler.java | 1 + 1 file changed, 1 insertion(+) diff --git a/jim-server/src/main/java/org/jim/server/command/handler/HandshakeReqHandler.java b/jim-server/src/main/java/org/jim/server/command/handler/HandshakeReqHandler.java index ef253a1..630a38e 100644 --- a/jim-server/src/main/java/org/jim/server/command/handler/HandshakeReqHandler.java +++ b/jim-server/src/main/java/org/jim/server/command/handler/HandshakeReqHandler.java @@ -22,6 +22,7 @@ public class HandshakeReqHandler extends AbCmdHandler { ImPacket handShakePacket = handShakeProCmdHandler.handshake(packet, channelContext); if (handShakePacket == null) { Aio.remove(channelContext, "业务层不同意握手"); + return null; } ImAio.send(channelContext, handShakePacket); handShakeProCmdHandler.onAfterHandshaked(packet, channelContext);