2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-01 15:05:56 +00:00

Info shared media and common groups counters.

This commit is contained in:
John Preston
2017-09-21 22:21:33 +03:00
parent 812dcb5e8d
commit b9fb9af74f
26 changed files with 1048 additions and 435 deletions

View File

@@ -2808,6 +2808,8 @@ void MediaView::updateHeader() {
} else {
if (_doc) {
_headerText = _doc->name.isEmpty() ? lang(lng_mediaview_doc_image) : _doc->name;
} else if (_msgid) {
_headerText = lang(lng_mediaview_single_photo);
} else if (_user) {
_headerText = lang(lng_mediaview_profile_photo);
} else if ((_history && _history->channelId() && !_history->isMegagroup())