Skip to content

Commit

Permalink
internal/msgtransfer: fix unreachable code issue (#1078)
Browse files Browse the repository at this point in the history
  • Loading branch information
charles-chenzz authored Sep 15, 2023
1 parent 5fb9e94 commit 7a3c3d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/msgtransfer/persistent_msg_handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ func (pc *PersistentConsumerHandler) handleChatWs2Mysql(
log.ZError(ctx, "msg_transfer Unmarshal msg err", err)
return
}
return

log.ZDebug(ctx, "handleChatWs2Mysql", "msg", msgFromMQ.MsgData)
// Control whether to store history messages (mysql)
isPersist := utils.GetSwitchFromOptions(msgFromMQ.MsgData.Options, constant.IsPersistent)
Expand Down

0 comments on commit 7a3c3d7

Please sign in to comment.