Skip to content

Commit 536d766

Browse files
authored
fix: ws read max seq error. (#701)
* refactor: mv GetConversationsHasReadAndMaxSeq from HTTP to Websocket. Signed-off-by: Gordon <[email protected]> * fix: ws read max seq error. Signed-off-by: Gordon <[email protected]> --------- Signed-off-by: Gordon <[email protected]>
1 parent 57d3f9d commit 536d766

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

internal/interaction/long_conn_mgr.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -504,6 +504,8 @@ func (c *LongConnMgr) handleMessage(message []byte) error {
504504
fallthrough
505505
case constant.PullMsgBySeqList:
506506
fallthrough
507+
case constant.GetConvMaxReadSeq:
508+
fallthrough
507509
case constant.SendMsg:
508510
fallthrough
509511
case constant.SendSignalMsg:
@@ -518,7 +520,6 @@ func (c *LongConnMgr) handleMessage(message []byte) error {
518520
log.ZError(ctx, "handlerUserOnlineChange failed", err, "wsResp", wsResp)
519521
}
520522
default:
521-
// log.Error(wsResp.OperationID, "type failed, ", wsResp.ReqIdentifier)
522523
return sdkerrs.ErrMsgBinaryTypeNotSupport
523524
}
524525
return nil

0 commit comments

Comments
 (0)