Skip to content

Commit

Permalink
Merge e454123 into 9704689
Browse files Browse the repository at this point in the history
  • Loading branch information
kaladay committed Sep 22, 2020
2 parents 9704689 + e454123 commit b702cc8
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
import java.util.Map;
import java.util.Optional;

import org.apache.commons.lang3.StringUtils;
import org.apache.log4j.Logger;
import org.kohsuke.github.GHIssue;
import org.kohsuke.github.GHIssueState;
Expand Down Expand Up @@ -272,7 +273,7 @@ protected Member getMember(GHUser user) throws IOException {
if (cachedMember.isPresent()) {
member = cachedMember.get();
} else {
String name = user.getName();
String name = StringUtils.isEmpty(user.getName()) ? user.getLogin() : user.getName();
String avatarUrlString = user.getAvatarUrl();
String avatarPath = getAvatarPath(avatarUrlString);
member = new Member(memberId, name, avatarPath);
Expand Down

0 comments on commit b702cc8

Please sign in to comment.