diff --git a/app/js/directives.js b/app/js/directives.js
index 4881887a..a7321a47 100755
--- a/app/js/directives.js
+++ b/app/js/directives.js
@@ -2855,7 +2855,7 @@ angular.module('myApp.directives', ['myApp.filters'])
var peerID, peer, peerPhoto;
var imgEl = $('');
- var initEl = $('');
+ var initEl = $('');
var jump = 0;
var prevClass = false;
@@ -2896,7 +2896,7 @@ angular.module('myApp.directives', ['myApp.filters'])
}
}
- initEl.text(peer.initials).prependTo(element);
+ initEl.attr('data-content', encodeEntities(peer.initials)).prependTo(element);
imgEl.remove();
diff --git a/app/less/desktop.less b/app/less/desktop.less
index 1f70db60..2412bc91 100644
--- a/app/less/desktop.less
+++ b/app/less/desktop.less
@@ -1796,18 +1796,14 @@ a.im_panel_peer_photo .peer_initials {
margin-top: 4px;
margin-bottom: 4px;
}
-.im_grouped_short .im_message_author_via,
+.im_grouped_short .im_message_author_wrap,
.im_grouped_short .im_message_from_photo,
-.im_grouped_short .im_message_author,
-.im_grouped .im_message_author_via,
+.im_grouped .im_message_author_wrap,
.im_grouped .im_message_from_photo,
-.im_grouped .im_message_author,
-.im_grouped_fwd .im_message_author_via,
+.im_grouped_fwd .im_message_author_wrap,
.im_grouped_fwd .im_message_from_photo,
-.im_grouped_fwd .im_message_author,
-.im_grouped_fwd_short .im_message_author_via,
-.im_grouped_fwd_short .im_message_from_photo,
-.im_grouped_fwd_short .im_message_author {
+.im_grouped_fwd_short .im_message_author_wrap,
+.im_grouped_fwd_short .im_message_from_photo {
display: none;
}
diff --git a/app/partials/desktop/message.html b/app/partials/desktop/message.html
index 9fc96997..33db091c 100644
--- a/app/partials/desktop/message.html
+++ b/app/partials/desktop/message.html
@@ -44,7 +44,10 @@