2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

icon in search in supergroup fixed, edit button for supergroup admins added, crash fix in cached image loading

This commit is contained in:
John Preston
2015-11-23 19:05:30 +03:00
parent 46df0f32c8
commit e5c82fad21
4 changed files with 17 additions and 8 deletions

View File

@@ -318,7 +318,7 @@ void TopBarWidget::showAll() {
_forward.hide();
_mediaType.hide();
} else {
if (p && p->isChannel() && p->asChannel()->amCreator()) {
if (p && p->isChannel() && (p->asChannel()->amCreator() || (p->isMegagroup() && p->asChannel()->amEditor()))) {
_edit.show();
} else {
_edit.hide();