fix: modifying user information notifications to join groups and group avatar issues (#1147)

* fix: user update group notification, group member face url

* fix: user update group notification, group member face url
This commit is contained in:
withchao
2023-09-28 20:38:53 +08:00
committed by GitHub
parent f198317ce7
commit eb749af807
4 changed files with 47 additions and 35 deletions
+3
View File
@@ -139,6 +139,9 @@ func (s *userServer) UpdateUserInfo(ctx context.Context, req *pbuser.UpdateUserI
for _, friendID := range friends {
s.friendNotificationSender.FriendInfoUpdatedNotification(ctx, req.UserInfo.UserID, friendID)
}
if err := s.groupRpcClient.NotificationUserInfoUpdate(ctx, req.UserInfo.UserID); err != nil {
log.ZError(ctx, "NotificationUserInfoUpdate", err, "userID", req.UserInfo.UserID)
}
return resp, nil
}