second reset seq

This commit is contained in:
withchao
2023-06-19 10:22:25 +08:00
parent e0fd13bf4f
commit 698515549b
2 changed files with 28 additions and 5 deletions
-1
View File
@@ -806,7 +806,6 @@ func (s *groupServer) deleteMemberAndSetConversationSeq(ctx context.Context, gro
conevrsationID := utils.GetConversationIDBySessionType(constant.SuperGroupChatType, groupID)
maxSeq, err := s.msgRpcClient.GetConversationMaxSeq(ctx, conevrsationID)
if err != nil {
return err
}
return s.conversationRpcClient.SetConversationMaxSeq(ctx, userIDs, conevrsationID, maxSeq)