2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

bubble enlarged for signed thumbed files, error string display added for group/channel create error

This commit is contained in:
John Preston
2016-03-24 18:31:11 +03:00
parent 605f5305e4
commit 978e86a8ba
4 changed files with 19 additions and 1 deletions

View File

@@ -540,6 +540,9 @@ bool GroupInfoBox::creationFail(const RPCError &error) {
_title.setFocus();
_title.showError();
return true;
} else if (error.type() == qstr("USER_RESTRICTED")) {
Ui::showLayer(new InformBox(lang(lng_cant_do_this)));
return true;
}
return false;
}