diff --git a/app/js/directives.js b/app/js/directives.js index 23f7d063..0923132a 100755 --- a/app/js/directives.js +++ b/app/js/directives.js @@ -2966,7 +2966,9 @@ angular.module('myApp.directives', ['myApp.filters']) if (attrs.watch) { $scope.$on('user_update', function (e, updUserID) { if (peerID == updUserID) { - if (!angular.equals(peer.photo && peer.photo.photo_small, peerPhoto)) { + peer = AppPeersManager.getPeer(peerID) + if (!angular.equals(peer.photo && peer.photo.photo_small, peerPhoto) || + !peerPhoto) { updatePeerPhoto() } } diff --git a/app/less/desktop.less b/app/less/desktop.less index 113d7d5d..f170b203 100644 --- a/app/less/desktop.less +++ b/app/less/desktop.less @@ -1201,7 +1201,7 @@ a.im_panel_peer_photo .peer_initials { padding: 1px 28px 1px 0; position: relative; margin: 0; - min-height: 50px; + min-height: 52px; line-height: 20px; height: auto; box-sizing: border-box; @@ -1305,7 +1305,7 @@ a.im_panel_peer_photo .peer_initials { .composer { &_rich_textarea, &_textarea { - min-height: 25px; + min-height: 27px; padding-right: 25px; }