File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ angular.module('mm.addons.messages')
2525 mmaMessagesDiscussionLoadedEvent , mmaMessagesDiscussionLeftEvent ) {
2626 // Listen for discussion loaded event to show user profile link in tablet view.
2727 var obsLoaded = $mmEvents . on ( mmaMessagesDiscussionLoadedEvent , function ( userId ) {
28- if ( $ionicPlatform . isTablet ( ) && $ionicTabsDelegate . selectedIndex ( ) === 0 ) {
28+ if ( $ionicPlatform . isTablet ( ) ) {
2929 // A discussion was loaded in tablet, get the user image and show the button to the profile.
3030 $scope . userId = userId ;
3131 $mmUser . getProfile ( userId , undefined , true ) . catch ( function ( ) {
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ <h2>{{ 'mma.messages.type_' + contactType | translate }}</h2>
2525 </ button >
2626 </ ion-item >
2727
28- < a ng-repeat ="contact in contacts[contactType] | orderBy:'fullname' track by $index " ng-if ="contact.profileimageurl || contact.profileimageurlsmall " class ="item item-avatar " mm-split-view-link ="{{userStateName}}({userid : contact.id}) " title ="{{contact.fullname}} "> <!-- Don't show deleted users -->
28+ < a ng-repeat ="contact in contacts[contactType] | orderBy:'fullname' track by $index " ng-if ="contact.profileimageurl || contact.profileimageurlsmall " class ="item item-avatar " mm-split-view-link ="site.messages-discussion({userId : contact.id}) " title ="{{contact.fullname}} "> <!-- Don't show deleted users -->
2929 < img ng-src ="{{ contact.profileimageurl || contact.profileimageurlsmall }} " alt ="{{ 'mm.core.pictureof' | translate:{$a: contact.fullname} }} " role ="presentation " mm-external-content >
3030 < p class ="item-heading "> {{ contact.fullname }}</ p >
3131 </ a >
You can’t perform that action at this time.
0 commit comments