mirror of
https://github.com/openimsdk/open-im-server.git
synced 2026-05-13 21:45:58 +08:00
group
This commit is contained in:
@@ -907,6 +907,7 @@ func (s *groupServer) GroupApplicationResponse(_ context.Context, req *pbGroup.G
|
|||||||
c.ConversationType = int32(sessionType)
|
c.ConversationType = int32(sessionType)
|
||||||
c.GroupID = req.GroupID
|
c.GroupID = req.GroupID
|
||||||
c.IsNotInGroup = false
|
c.IsNotInGroup = false
|
||||||
|
c.UpdateUnreadCountTime = utils.GetCurrentTimestampByMill()
|
||||||
} else {
|
} else {
|
||||||
c.OwnerUserID = conversation.OwnerUserID
|
c.OwnerUserID = conversation.OwnerUserID
|
||||||
c.ConversationID = utils.GetConversationIDBySessionType(req.GroupID, sessionType)
|
c.ConversationID = utils.GetConversationIDBySessionType(req.GroupID, sessionType)
|
||||||
@@ -919,7 +920,6 @@ func (s *groupServer) GroupApplicationResponse(_ context.Context, req *pbGroup.G
|
|||||||
c.GroupAtType = conversation.GroupAtType
|
c.GroupAtType = conversation.GroupAtType
|
||||||
c.IsNotInGroup = false
|
c.IsNotInGroup = false
|
||||||
c.Ex = conversation.Ex
|
c.Ex = conversation.Ex
|
||||||
c.UpdateUnreadCountTime = utils.GetCurrentTimestampByMill()
|
|
||||||
}
|
}
|
||||||
reqPb.Conversation = &c
|
reqPb.Conversation = &c
|
||||||
etcdConn := getcdv3.GetDefaultConn(config.Config.Etcd.EtcdSchema, strings.Join(config.Config.Etcd.EtcdAddr, ","), config.Config.RpcRegisterName.OpenImUserName, req.OperationID)
|
etcdConn := getcdv3.GetDefaultConn(config.Config.Etcd.EtcdSchema, strings.Join(config.Config.Etcd.EtcdAddr, ","), config.Config.RpcRegisterName.OpenImUserName, req.OperationID)
|
||||||
|
|||||||
Reference in New Issue
Block a user