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:
@@ -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() {
|
||||
|
Reference in New Issue
Block a user