From fa4c2d7d589b313dcacbab81284757c781a8ed1c Mon Sep 17 00:00:00 2001 From: Gordon <46924906+FGadvancer@users.noreply.github.com> Date: Thu, 19 Oct 2023 17:21:02 +0800 Subject: [PATCH] fix: api send messages for notification conversation . --- internal/push/push_handler.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/internal/push/push_handler.go b/internal/push/push_handler.go index 91363282f..9efa15855 100644 --- a/internal/push/push_handler.go +++ b/internal/push/push_handler.go @@ -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 }