fixed photo label for groups and channels

This commit is contained in:
John Preston 2015-11-03 11:50:40 -05:00
parent 5110ebb18e
commit 6feef57b84
1 changed files with 3 additions and 3 deletions

View File

@ -1946,10 +1946,10 @@ void MediaView::updateHeader() {
_headerText = _doc->name.isEmpty() ? lang(lng_mediaview_doc_image) : _doc->name;
} else if (_user) {
_headerText = lang(lng_mediaview_profile_photo);
} else if (_channel) {
_headerText = lang(lng_mediaview_group_photo);
} else if (_peer) {
} else if (_channel || (_peer && _peer->isChannel())) {
_headerText = lang(lng_mediaview_channel_photo);
} else if (_peer) {
_headerText = lang(lng_mediaview_group_photo);
} else {
_headerText = lang(lng_mediaview_single_photo);
}