mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-05-22 04:39:19 +08:00
Merge pull request #1747 from withchao/release-v3.5
fix: NotificationUserInfoUpdate not notified
This commit is contained in:
commit
d236f4070c
@ -109,14 +109,11 @@ type groupServer struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (s *groupServer) NotificationUserInfoUpdate(ctx context.Context, req *pbgroup.NotificationUserInfoUpdateReq) (*pbgroup.NotificationUserInfoUpdateResp, error) {
|
func (s *groupServer) NotificationUserInfoUpdate(ctx context.Context, req *pbgroup.NotificationUserInfoUpdateReq) (*pbgroup.NotificationUserInfoUpdateResp, error) {
|
||||||
defer log.ZDebug(ctx, "return")
|
defer log.ZDebug(ctx, "NotificationUserInfoUpdate return")
|
||||||
members, err := s.db.FindGroupMemberUser(ctx, nil, req.UserID)
|
members, err := s.db.FindGroupMemberUser(ctx, nil, req.UserID)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
if err := s.PopulateGroupMember(ctx, members...); err != nil {
|
|
||||||
return nil, err
|
|
||||||
}
|
|
||||||
groupIDs := make([]string, 0, len(members))
|
groupIDs := make([]string, 0, len(members))
|
||||||
for _, member := range members {
|
for _, member := range members {
|
||||||
if member.Nickname != "" && member.FaceURL != "" {
|
if member.Nickname != "" && member.FaceURL != "" {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user