Fixed avatars in the network not working with additional emails.
Previously, GitLab avatars (non-gravatar) would only call User.find_by(email: user_email)
, which makes GitLab display the user's Gravatar instead of the user's local network one. I have now changed it to where it now calls User.find_by(email: user_email, name: user_name)
. This should fix issue #881 (closed).