fix: api send messages for notification conversation .

This commit is contained in:
Gordon 2023-10-19 17:21:02 +08:00
parent e856e4e49d
commit fa4c2d7d58

View File

@ -56,8 +56,10 @@ func (c *ConsumerHandler) handleMs2PsChat(ctx context.Context, msg []byte) {
MsgData: msgFromMQ.MsgData,
ConversationID: msgFromMQ.ConversationID,
}
log.ZDebug(ctx, "push msg", "msg", pbData.String())
sec := msgFromMQ.MsgData.SendTime / 1000
nowSec := utils.GetCurrentTimestampBySecond()
log.ZDebug(ctx, "push msg", "msg", pbData.String(), "sec", sec, "nowSec", nowSec)
if nowSec-sec > 10 {
return
}