Skip to content

Commit

Permalink
SAK-31252 Roster always shows profile picture when you search for use…
Browse files Browse the repository at this point in the history
  • Loading branch information
alejandrogj authored and adrianfish committed Sep 23, 2016
1 parent 3f4a822 commit 78ece29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roster2/src/webapp/js/roster.js
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@

m.formattedProfileUrl = "/direct/profile/" + m.userId + "/formatted?siteId=" + encodeURIComponent(roster.siteId);
m.profileImageUrl = "/direct/profile/" + m.userId + "/image";
if (options.forceOfficialPicture) {
if (options.forceOfficialPicture || options.showOfficialPictures) {
m.profileImageUrl += "/official";
}
m.profileImageUrl += "?siteId=" + encodeURIComponent(roster.siteId);
Expand Down

0 comments on commit 78ece29

Please sign in to comment.