mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-06-01 04:29:20 +08:00
modify msg
This commit is contained in:
parent
36afd67a2c
commit
7a9506f616
@ -92,6 +92,7 @@ func (mmc *ModifyMsgConsumerHandler) ModifyMsg(cMsg *sarama.ConsumerMessage, msg
|
|||||||
msg = msgs[0]
|
msg = msgs[0]
|
||||||
index = indexes[msg.Seq]
|
index = indexes[msg.Seq]
|
||||||
}
|
}
|
||||||
|
msg.IsReact = true
|
||||||
if err := db.DB.ReplaceMsgByIndex(notification.SourceID, msg, index); err != nil {
|
if err := db.DB.ReplaceMsgByIndex(notification.SourceID, msg, index); err != nil {
|
||||||
log.NewError(msgDataToMQ.OperationID, "ReplaceMsgByIndex failed", notification.SourceID, *msg)
|
log.NewError(msgDataToMQ.OperationID, "ReplaceMsgByIndex failed", notification.SourceID, *msg)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user