mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-05-31 03:23:43 +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]
|
||||
index = indexes[msg.Seq]
|
||||
}
|
||||
msg.IsReact = true
|
||||
if err := db.DB.ReplaceMsgByIndex(notification.SourceID, msg, index); err != nil {
|
||||
log.NewError(msgDataToMQ.OperationID, "ReplaceMsgByIndex failed", notification.SourceID, *msg)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user