mirror of
https://gitee.com/xchao/j-im.git
synced 2024-12-02 11:57:43 +08:00
fix握手环节,不同意握手时增加return处理
This commit is contained in:
parent
fc5ffe6700
commit
b46f6d1f82
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user