manager send message to mysql duplicate primary key fix

pull/455/head
Gordon 2 years ago committed by Xinwei Xiong(cubxxw-openim)
parent aae978535b
commit 55be9da582

@ -51,7 +51,7 @@ func (pc *PersistentConsumerHandler) handleChatWs2Mysql(msg []byte, msgKey strin
tag = true
}
case constant.GroupChatType:
if msgKey == msgFromMQ.MsgData.SendID || utils.IsContain(msgFromMQ.MsgData.SendID, config.Config.Manager.AppManagerUid) {
if msgKey == msgFromMQ.MsgData.SendID {
tag = true
}
}

Loading…
Cancel
Save