2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-05 00:46:08 +00:00

channel edit, report spam, etc done

This commit is contained in:
John Preston
2015-09-21 23:57:42 +03:00
parent f9d3921136
commit 72d0271e4d
39 changed files with 2153 additions and 449 deletions

View File

@@ -30,6 +30,7 @@ Copyright (c) 2014 John Preston, https://desktop.telegram.org
#include "layerwidget.h"
#include "settingswidget.h"
#include "boxes/confirmbox.h"
#include "boxes/contactsbox.h"
#include "mediaview.h"
#include "localstorage.h"
@@ -1030,7 +1031,13 @@ void Window::onShowAddContact() {
void Window::onShowNewGroup() {
if (isHidden()) showFromTray();
if (main) main->showNewGroup();
if (main) replaceLayer(new GroupInfoBox(CreatingGroupGroup, false));
}
void Window::onShowNewChannel() {
if (isHidden()) showFromTray();
if (main) replaceLayer(new GroupInfoBox(CreatingGroupChannel, false));
}
void Window::onLogout() {