From 8aefd41cddd8405a9ebdbd1e38346450d1da744e Mon Sep 17 00:00:00 2001 From: wangchuxiao Date: Mon, 5 Dec 2022 16:44:46 +0800 Subject: [PATCH] group --- internal/rpc/group/group.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/rpc/group/group.go b/internal/rpc/group/group.go index 7205a9274..b6820a0e5 100644 --- a/internal/rpc/group/group.go +++ b/internal/rpc/group/group.go @@ -583,6 +583,7 @@ func (s *groupServer) GroupApplicationResponse(_ context.Context, req *pbGroup.G c.ConversationType = constant.GroupChatType c.GroupID = req.GroupID c.IsNotInGroup = false + c.UpdateUnreadCountTime = utils.GetCurrentTimestampByMill() } else { c.OwnerUserID = conversation.OwnerUserID c.ConversationID = utils.GetConversationIDBySessionType(req.GroupID, constant.GroupChatType) @@ -595,7 +596,6 @@ func (s *groupServer) GroupApplicationResponse(_ context.Context, req *pbGroup.G c.GroupAtType = conversation.GroupAtType c.IsNotInGroup = false c.Ex = conversation.Ex - c.UpdateUnreadCountTime = utils.GetCurrentTimestampByMill() } reqPb.Conversation = &c etcdConn := getcdv3.GetConn(config.Config.Etcd.EtcdSchema, strings.Join(config.Config.Etcd.EtcdAddr, ","), config.Config.RpcRegisterName.OpenImUserName)