group func name

This commit is contained in:
withchao
2023-02-07 17:16:04 +08:00
parent 1716de808f
commit cfa5420d9d
11 changed files with 494 additions and 231 deletions
+1 -1
View File
@@ -207,7 +207,7 @@ func (s *adminCMSServer) GetChatLogs(ctx context.Context, req *pbAdminCMS.GetCha
pbChatLog.SenderNickname = recvUser.Nickname
case constant.GroupChatType, constant.SuperGroupChatType:
group, err := s.groupInterface.TakeGroupByID(ctx, chatLog.RecvID)
group, err := s.groupInterface.TakeGroup(ctx, chatLog.RecvID)
if err != nil {
return nil, err
}