mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-24 10:22:36 +08:00
log change
This commit is contained in:
parent
be3d2b6552
commit
31e0a8a88b
@ -105,7 +105,7 @@ func (och *OnlineHistoryConsumerHandler) Run(channelID int) {
|
|||||||
isSenderSync := utils.GetSwitchFromOptions(v.MsgData.Options, constant.IsSenderSync)
|
isSenderSync := utils.GetSwitchFromOptions(v.MsgData.Options, constant.IsSenderSync)
|
||||||
if isHistory {
|
if isHistory {
|
||||||
storageMsgList = append(storageMsgList, v)
|
storageMsgList = append(storageMsgList, v)
|
||||||
log.NewWarn(triggerID, "storageMsgList to mongodb client msgID: ", v.MsgData.ClientMsgID)
|
//log.NewWarn(triggerID, "storageMsgList to mongodb client msgID: ", v.MsgData.ClientMsgID)
|
||||||
} else {
|
} else {
|
||||||
if !(!isSenderSync && msgChannelValue.userID == v.MsgData.SendID) {
|
if !(!isSenderSync && msgChannelValue.userID == v.MsgData.SendID) {
|
||||||
noStoragepushMsgList = append(noStoragepushMsgList, v)
|
noStoragepushMsgList = append(noStoragepushMsgList, v)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user