fix: add openim code fix

Signed-off-by: Xinwei Xiong(cubxxw-openim) <3293172751nss@gmail.com>
This commit is contained in:
Xinwei Xiong(cubxxw-openim) 2023-09-07 17:25:43 +08:00
parent e2dfcb2d55
commit e337c2499f
No known key found for this signature in database
GPG Key ID: 1BAD6F395338EFDE

View File

@ -136,6 +136,7 @@ func (c *Client) readMessage() {
}
switch messageType {
case MessageBinary:
_ = c.conn.SetReadDeadline(pongWait)
parseDataErr := c.handleMessage(message)
if parseDataErr != nil {
c.closedErr = parseDataErr