Skip to content

Commit

Permalink
Merge pull request #454 from dpalou/MOBILE-1527
Browse files Browse the repository at this point in the history
MOBILE-1527 messages: Fix top right icon in smartphones
  • Loading branch information
jleyva committed Apr 15, 2016
2 parents 46a4a90 + 14fc05a commit 61be938
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion www/addons/messages/controllers/discussion.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ angular.module('mm.addons.messages')
$scope.title = user.fullname;
}
if (typeof $scope.profileLink == 'undefined') {
$scope.profileLink = user.profileimageurl;
$scope.profileLink = user.profileimageurl || true;
}
}).catch(function() {
// Couldn't retrieve the image, use a default icon.
Expand Down

0 comments on commit 61be938

Please sign in to comment.